[Python-Dev] [python] Re: pkgutil, pkg_resource and Python 3.0 name space packages (original) (raw)
Michael Foord fuzzyman at voidspace.org.uk
Tue Jan 8 00:29:16 CET 2008
- Previous message: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages
- Next message: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul Moore wrote:
On 07/01/2008, Tristan Seligmann <mithrandi-python-dev at mithrandi.za.net> wrote:
D'oh, yes of course. So make that:
~/.python/lib/pythonX.Y/site-packages In that case how about: ~/.local/lib/pythonX.Y/site-packages or: ~/local/lib/pythonX.Y/site-packages What would be used on Windows? It's likely to be of marginal use on Windows,
Could be very useful. A lot of machines are used with multiple users.
but an appropriate equivalent should be defined. Possibly just replace ~ with %USERPROFILE%. I'd argue against anything under %APPDATA% as that directory is hidden. Replacing ~ with %USERPROFILE% sounds like the right thing to do.
Also, should bdistwininst/bdistmsi installers be updated to offer the option of installing to this directory? What about python setup.py install (add a --user flag, for example)? The installers should give the user the choice at install time (preferably). A '--user' flag would also be useful (IMHO).
Michael Foord
Paul.
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
- Previous message: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages
- Next message: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]