distutils install dir

John Hunter jdhunter at ace.bsd.uchicago.edu
Tue Feb 17 03:22:38 CET 2004


>>>>> "John" == John Hunter <jdhunter at ace.bsd.uchicago.edu> writes:

    John> What is the best way to get the target install dir from
    John> distutils when

It looks like distutils.sysconfig.get_python_lib is what I am looking
for

  >>> import distutils.sysconfig as ds
  >>> ds.get_python_lib()
  '/usr/local/lib/python2.3/site-packages'





More information about the Python-list mailing list