Éric Araujo <mer...@netwok.org> added the comment:

One part of develop that we could add is the creation of a .pth file in a 
directory on sys.path (with Python >= 2.6, --user gives that for free). IMNSHO, 
this should be implemented as an option to the install_lib* command, named 
--link-only or something better.

*(Not install, since .pth does not handle scripts, headers or data. The purpose 
of this command/option is to make modules and packages importable, more would 
be trickier.)

(“pythonx.y setup.py install_lib --user --link-only” is long, I agree. This 
problem is solved with copy/paste, shell history, shell function, or we could 
steal the aliases system from setuptools.)

I have a suspicion the install command (or a subcommand) already has most of 
what it takes to do this. I’m still trying to understand the extra_path 
argument (#901727), which may or may not give us 90% of what’s needed to 
implement this feature.

----------
nosy: +alexis

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8668>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to