How to get path to Python standard library directory?

Miki Tebeka miki.tebeka at gmail.com
Fri Nov 25 10:48:35 EST 2011


You can try

PYLIB = $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()')

(or pack the long command line in a script).



More information about the Python-list mailing list