Use .pth files to add Git checkout to virtualenv's Python library path
Opened this issue · 0 comments
lericson commented
I'm not sure how things are currently set up, I think we use the PYTHONPATH
environment variable -- what I do locally is to add a .pth
like for example env/lib/python*/site-packages/dev.pth
, containing nothing but the path to the src
directory, to wit:
devel/5m/radar $ cat env/lib/python3.4/site-packages/dev.pth
/Users/lericson/devel/5m/radar/src