You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Ampoule was first written, it was common practice for applications to do weird, potentially non-replicable startup nonsense to get sys.path to be correct and include all of one's sources. Since virtualenv, venv, and pip have taken over the Python developer-setup space, it's much more likely that your Python's path and dependency configuration is correct if you just don't mess with it.
Setting PYTHONPATH to point at the standard dist dirs can also have weird and unintended side-effects. For example, any shadowing of stdlib modules (enum34, for example) might create inscrutable breakages when .pth files try to import things (like coverage).
#24 is another symptom of this monkeying around with sys.path.
Let's leave the environment untouched, and provide a hook to tweak it in the now-unusual case where something has broken.
The text was updated successfully, but these errors were encountered:
When Ampoule was first written, it was common practice for applications to do weird, potentially non-replicable startup nonsense to get
sys.path
to be correct and include all of one's sources. Sincevirtualenv
,venv
, andpip
have taken over the Python developer-setup space, it's much more likely that your Python's path and dependency configuration is correct if you just don't mess with it.Setting
PYTHONPATH
to point at the standard dist dirs can also have weird and unintended side-effects. For example, any shadowing of stdlib modules (enum34, for example) might create inscrutable breakages when.pth
files try to import things (likecoverage
).#24 is another symptom of this monkeying around with sys.path.
Let's leave the environment untouched, and provide a hook to tweak it in the now-unusual case where something has broken.
The text was updated successfully, but these errors were encountered: