Permanently adding to the Python path in Ubuntu
Christian Heimes
lists at cheimes.de
Sun Aug 30 12:29:22 EDT 2009
Chris Colbert wrote:
> Is there a way to fix this so that the local dist-packages is added to
> sys.path before the system directory ALWAYS? I can do this by editing
> site.py but I think it's kind of bad form to do it this way. I feel
> there has to be a way to do this without root privileges.
>
> Any ideas?
Have you read my blog entry about my PEP 370?
http://lipyrary.blogspot.com/2009/08/how-to-add-new-module-search-path.html
Christian
More information about the Python-list
mailing list