distutils.sysconfig
index
/usr/lib/python1.6/distutils/sysconfig.py

Provide access to Python's configuration information.  The specific names
defined in the module depend heavily on the platform and configuration.
 
Written by:   Fred L. Drake, Jr.
Email:        <fdrake@acm.org>
Initial date: 17-Dec-1998

 
Modules
            
os
re
string
sys

 
Functions
            
customize_compiler(compiler)
Do any platform-specific customization of the CCompiler instance
'compiler'.  Mainly needed on Unix, so we can plug in the information
that varies across Unices and is stored in Python's Makefile.
get_config_h_filename()
Return full pathname of installed config.h file.
get_makefile_filename()
Return full pathname of installed Makefile from the Python build.
get_python_inc(plat_specific=0, prefix=None)
Return the directory containing installed Python header files.
 
If 'plat_specific' is false (the default), this is the path to the
non-platform-specific header files, i.e. Python.h and so on;
otherwise, this is the path to platform-specific header files
(namely config.h).
 
If 'prefix' is supplied, use it instead of sys.prefix or
sys.exec_prefix -- i.e., ignore 'plat_specific'.
get_python_lib(plat_specific=0, standard_lib=0, prefix=None)
Return the directory containing the Python library (standard or
site additions).
 
If 'plat_specific' is true, return the directory containing
platform-specific modules, i.e. any module from a non-pure-Python
module distribution; otherwise, return the platform-shared library
directory.  If 'standard_lib' is true, return the directory
containing standard Python library modules; otherwise, return the
directory for site-specific modules.
 
If 'prefix' is supplied, use it instead of sys.prefix or
sys.exec_prefix -- i.e., ignore 'plat_specific'.
parse_config_h(fp, g=None)
Parse a config.h-style file.
 
A dictionary containing name/value pairs is returned.  If an
optional dictionary is passed in as the second argument, it is
used instead of a new dictionary.
parse_makefile(fp, g=None)
Parse a Makefile-style file.
 
A dictionary containing name/value pairs is returned.  If an
optional dictionary is passed in as the second argument, it is
used instead of a new dictionary.

 
Data
             AR = 'ar'
BASEMODLIBS = ''
BINDIR = '/usr/bin'
BINLIBDEST = '/usr/lib/python1.6'
CC = 'gcc'
CCSHARED = '-fpic'
CFLAGS = '-g -O2 -I./../Include -I.. -DHAVE_CONFIG_H'
CONFIGINCLDIR = '..'
COREPYTHONPATH = ':plat-linux2:lib-tk'
CXX = ''
DEFS = '-DHAVE_CONFIG_H'
DESTDIRS = '/usr /usr/lib /usr/lib/python1.6 /usr/lib/python1.6/lib-dynload'
DESTLIB = '/usr/lib/python1.6'
DESTPATH = ''
DESTSHARED = '/usr/lib/python1.6/lib-dynload'
EXE = ''
EXEC_PREFIX = '/usr'
FIXOBJS = 'config.o getpath.o main.o getbuildinfo.o'
GLHACK = '-Dclear=__GLclear'
INCLDIR = './../Include'
INCLUDEDIR = '/usr/include'
INCLUDEPY = '/usr/include/python1.6'
INSTALL = './../install-sh -c'
INSTALL_DATA = './../install-sh -c -m 644'
INSTALL_PROGRAM = './../install-sh -c -m 755'
INSTALL_SHARED = './../install-sh -c -m 555'
LDFLAGS = ''
LDLAST = ''
LDLIBRARY = '../libpython1.6.a'
LDSHARED = 'gcc -shared'
LIBC = ''
LIBDEST = '/usr/lib/python1.6'
LIBDIR = '/usr/lib'
LIBM = '-lm'
LIBP = '/usr/lib/python1.6'
LIBRARY = '../libpython1.6.a'
LIBS = '-lieee -ldl'
LINKCC = 'gcc'
LINKFORSHARED = '-Xlinker -export-dynamic'
LOCALMODLIBS = ''
MACHDEP = 'linux2'
MACHDEPPATH = ':plat-linux2'
MACHDESTLIB = '/usr/lib/python1.6'
MAINOBJ = 'python.o'
MAKESETUP = './makesetup'
MANDIR = '/usr/man'
MKDEP = 'mkdep'
MODLIBS = ''
MODOBJS = 'regexmodule.o regexpr.o pcremodule.o pypcre.o ...inascii.o parsermodule.o cStringIO.o cPickle.o'
OBJS = 'regexmodule.o regexpr.o pcremodule.o pypcre.o ...Pickle.o config.o getpath.o main.o getbuildinfo.o'
OPT = '-g -O2'
PREFIX = '/usr'
PURIFY = ''
PYTHONPATH = ':plat-linux2:lib-tk'
RANLIB = 'ranlib'
SCRIPTDIR = '/usr/lib'
SGI_ABI = ''
SHELL = '/bin/sh'
SITEPATH = ''
SO = '.so'
SYSLIBS = '-lm'
TESTPATH = ''
TKPATH = ':lib-tk'
VERSION = '1.6'
__file__ = '/usr/lib/python1.6/distutils/sysconfig.pyc'
__name__ = 'distutils.sysconfig'
__revision__ = '$Id: sysconfig.py,v 1.24 2000/08/02 01:49:40 gward Exp $'
exec_prefix = '/usr'
prefix = '/usr'
srcdir = '.'