tom-f-oconnell / pymistake

Put on PYTHONPATH to get better tracebacks and automatic postmortem debugging.
1 stars 1 forks source link

Add support for systems without site.ENABLE_USER_SITE #5

Open tom-f-oconnell opened 4 years ago

tom-f-oconnell commented 4 years ago

Many virtual environments will currently not be supported because we depend on site.ENABLE_USER_SITE being true to load usercustomize.py. Can using *.pth files make something like this work without usercustomize.py? Or is there some other mechanism that can replace usercustomize.py?