autoconf: how to get python_libdir correctly?
Michael Hudson
mwh at python.net
Wed Dec 4 08:38:29 EST 2002
More information about the Python-list mailing list
Wed Dec 4 08:38:29 EST 2002
- Previous message (by thread): Python + MySQL (Win32)
- Next message (by thread): autoconf: how to get python_libdir correctly?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gernot Hillier <ghillie at suse.de> writes: > Can I rely on sys.path[1] containing the system wide module directory? Maybe. > Other ideas? >>> from distutils import sysconfig >>> sysconfig.get_config_var("LIBDEST") '/usr/lib/python2.2' is my best effort. Cheers, M. -- CLiki pages can be edited by anybody at any time. Imagine the most fearsomely comprehensive legal disclaimer you have ever seen, and double it -- http://ww.telent.net/cliki/index
- Previous message (by thread): Python + MySQL (Win32)
- Next message (by thread): autoconf: how to get python_libdir correctly?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list