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/16362/head
parent
4c59c0b31d
commit
9cbb1a196b
Loading…
Reference in New Issue