python 2.4 upgrade

Harald Hoyer harald at redhat.com
Fri Nov 26 11:17:29 UTC 2004


Jeff Pitman wrote:
> 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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20041126/98094e1e/attachment-0002.bin 


More information about the devel mailing list