[Distutils] getting the local site_packages

Andrea Crotti andrea.crotti.0 at gmail.com
Wed Feb 1 16:08:19 CET 2012

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



More information about the Distutils-SIG mailing list