mirror of https://github.com/ansible/ansible.git
Workaround bad interaction with .pth files. (#16238)
When setuptools installs a python module (as is done via python setup.py install) It puts the module into a subdirectory of site-packages and then creates an entry in easy-install.pth to load that directory. This makes it difficult for Ansiballz to function correctly as the .pth file overrides the sys.path that the wrapper constructs. Using sitecustomize.py fixes this because sitecustomize overrides the directories handled in .pth files. Fixes #16187pull/16252/head
parent
7aca70b4b0
commit
94dc4554db
Loading…
Reference in New Issue