[issue8668] Packaging: add a 'develop' command

Éric Araujo report at bugs.python.org
Tue Jul 12 16:48:17 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

I’ve reviewed the last patch.  It looks like the code only installs to the global site-packages, and there is no support to install to the user site-packages or to another arbitrary location.

On Windows, normal users seem to be able to write to the global site-packages (see #12260), but on other OSes with a proper rights model <wink> that won’t do.  Luckily, PEP 370 brings us user site-packages (currently poorly documented, see #8617 and #10745), but only for 2.6, 2.7 and 3.x.  It looks like Tarek is ready to drop 2.4 compatibility for distutils2, so the question is: what to do under 2.5?

Generally, I don’t see why develop could not install to any directory.  We want a default invocation without options to Just Work™, finding a writable directory already on sys.path and writing into it, but that doesn’t exclude letting the user do what they want.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8668>
_______________________________________


More information about the Python-bugs-list mailing list