Can someone share with me when get_python_lib() != get_python_lib(1)? Inquiring minds want to know. %pythondir, %pyexecdir, %python_sitearch, %python_sitelib, are pretty superfluous macros.
# python -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix="/usr")'
/usr/lib64/python2.3/site-packages
# python -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix="/usr")'
/usr/lib/python2.3/site-packages
# uname -pm ppc64 ppc64
differs for 64 bit!
Attachment:
signature.asc
Description: OpenPGP digital signature