[Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages

Paul Moore p.f.moore at gmail.com
Mon Jan 7 23:56:34 CET 2008


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, but an appropriate equivalent should be defined. Possibly
just replace ~ with %USERPROFILE%. I'd argue against anything under
%APPDATA% as that directory is hidden.

Also, should bdist_wininst/bdist_msi installers be updated to offer
the option of installing to this directory? What about python setup.py
install (add a --user flag, for example)?

Paul.


More information about the Python-Dev mailing list