mirror of https://github.com/ansible/ansible.git
Make setting of metadata for crypto backend settable at buildtime
Working on several separate ideas to make ansible work with both cryptography or pycrypto. This particular change will let a user installing ansible change which crypto backend gets encoded in the metadata (and hence, which backend is required by pkg_resource). This works with both setup.py and pip:: ANSIBLE_CRYPTO_BACKEND=cryptography pip install ansible ANSIBLE_CRYPTO_BACKEND=cryptography python2 ./setup.py Note that the code to use cryptography is not yet merged so using ANSIBLE_CRYPTO_BACKEND is not yet a good idea (as it can lead to not installing pycrypto and hence the current vault code will fail). Related to: #20566pull/21541/merge
parent
365d06c538
commit
9bbd48ad5f
Loading…
Reference in New Issue