On Wed, Feb 1, 2012 at 4:08 PM, Andrea Crotti <andrea.crott...@gmail.com> wrote:
> With something like this
> site_packages = pkg_resources.get_python_lib()
>
> I get the python global path of the site-packages directory, is there a way
> to get also
> the local one, which for example on Linux might be something like
>
> $HOME/.local/lib/site-packages

What does import site; site.getusersitepackages() return - as per
http://docs.python.org/library/site.html#site.getusersitepackages

Hanno
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to