Understanding .pth in site-packages
Joshua.R.English at gmail.com
Sun Aug 28 00:39:24 CEST 2011
The setup.py script created the egg, but not the .pth file. I created that myself.
Thank you for clarifying about how .pth works. I know "redirect imports" was the wrong phrase, but it worked in my head at the time. It appears, at least on my system, that Python will find site-packages/foo before it finds and reads site-packages/foo.pth.
At least this solution gives me a way to develop my libraries outside of site-packages.
More information about the Python-list