[issue5819] Add PYTHONPREFIXES environment variable

2012-08-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: Close issue as superseded by venv package. -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5819

[issue5819] Add PYTHONPREFIXES environment variable

2012-07-23 Thread Christopher Dunn
Christopher Dunn cdunn2...@gmail.com added the comment: I agree. venv solves this problem and more. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5819 ___

[issue5819] Add PYTHONPREFIXES environment variable

2012-07-22 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: As PEP 405 has been implemented in Python 3.3 this issue can be closed I think. -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5819

[issue5819] Add PYTHONPREFIXES environment variable

2011-11-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See also #1298835 and PEP 405. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5819 ___ ___

[issue5819] Add PYTHONPREFIXES environment variable

2010-11-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +barry, eric.araujo versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5819 ___

[issue5819] Add PYTHONPREFIXES environment variable

2010-11-08 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I'll look at this in more detail, but I can at least answer one question right now: The bona-fide known bug: the Debian package mantainer for Python decided to change site-packages to dist-packages in 2.6, for reasons I still don't quite

[issue5819] Add PYTHONPREFIXES environment variable

2009-12-17 Thread Christopher Dunn
Christopher Dunn cdunn2...@gmail.com added the comment: I am not sure that this guy's idea is good, but I think that he deserves more attention. In comments elsewhere on the web, I noticed that people thought the PYTHONUSERBASE site-packages directory could contain .pth files which would serve

[issue5819] Add PYTHONPREFIXES environment variable

2009-04-23 Thread Larry Hastings
New submission from Larry Hastings la...@hastings.org: The attached patch adds support for a new environment variable, PYTHONPREFIXES. PYTHONPREFIXES is similar to PYTHONUSERBASE: it lets you add prefix directories to be culled for site packages. It differs from PYTHONUSERBASE in three ways:

[issue5819] Add PYTHONPREFIXES environment variable

2009-04-23 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Whoops, didn't classify the patch before submission. -- components: +Library (Lib) type: - feature request versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue5819] Add PYTHONPREFIXES environment variable

2009-04-23 Thread Ian Bicking
Ian Bicking i...@colorstudy.com added the comment: This has a similar purpose to virtualenv, but using an environmental variable. An earlier package, workingenv, also used an environmental variable, and this led to a set of problems. The biggest problem is that the environmental variable is

[issue5819] Add PYTHONPREFIXES environment variable

2009-04-23 Thread Ian Bicking
Ian Bicking i...@colorstudy.com added the comment: Also with respect to the patch, for consistency there needs to be changes to distutils to make use of this variable. PYTHONUSERBASE included changes so that you can install based on that variable. --

[issue5819] Add PYTHONPREFIXES environment variable

2009-04-23 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Thanks for your battle-tested feedback, Mr. Bicking! I reply inline. The biggest problem is that the environmental variable is inherited by subprocesses. [...] Another problem is that scripts aren't really sticky with respect to the