Permanently adding to the Python path in Ubuntu

Chris Colbert sccolbert at gmail.com
Sun Aug 30 13:03:19 EDT 2009


Great! That was the solution I was looking for. Thanks!

Chris

On Sun, Aug 30, 2009 at 12:29 PM, Christian Heimes<lists at cheimes.de> wrote:
> 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