[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/local is loved by Debian Python people?



> > > 1. remove /usr/local from site.py
> > This denies the ability of the system administrator to put local
> > overrides for Python library files in place as simply and consistently
> > as is done for other libraries and executables.
> indeed, precedence is smth I didn't think through in my suggested
> approach.
not sure what I was smoking that late evening actually:

*$> PYTHONPATH=/buga python -c "import sys; print sys.path" 
['', '/buga', '/usr/lib/python24.zip',  ...

so precedence capability is there

but that is irrelevant since that method of custom pythonX.X-local is indeed
ugly.  Having proper configuration file under /etc sounds much more viable
and correct solution.

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-1412 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        


Reply to: