mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
Resolve pycrypto gce failure on EL6 systems
Tracking upstream change https://github.com/ansible/ansible/pull/10787
This commit is contained in:
@@ -72,6 +72,16 @@ Author: Eric Johnson <erjohnso@google.com>
|
|||||||
Version: 0.0.1
|
Version: 0.0.1
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
__requires__ = ['pycrypto>=2.6']
|
||||||
|
try:
|
||||||
|
import pkg_resources
|
||||||
|
except ImportError:
|
||||||
|
# Use pkg_resources to find the correct versions of libraries and set
|
||||||
|
# sys.path appropriately when there are multiversion installs. We don't
|
||||||
|
# fail here as there is code that better expresses the errors where the
|
||||||
|
# library is used.
|
||||||
|
pass
|
||||||
|
|
||||||
USER_AGENT_PRODUCT="Ansible-gce_inventory_plugin"
|
USER_AGENT_PRODUCT="Ansible-gce_inventory_plugin"
|
||||||
USER_AGENT_VERSION="v1"
|
USER_AGENT_VERSION="v1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user