GDB (API)
Functions | Variables
python-config Namespace Reference

Functions

def exit_with_usage
def to_unix_path

Variables

list valid_opts
tuple pyver = sysconfig.get_config_var('VERSION')
 getvar = sysconfig.get_config_var
tuple abiflags = getattr(sys, "abiflags", "")
list opt_flags = [flag for (flag, val) in opts]
list flags
list libs = []

Function Documentation

def python-config.exit_with_usage (   code = 1)

Definition at line 12 of file python-config.py.

def python-config.to_unix_path (   path)
On Windows, returns the given path with all backslashes
converted into forward slashes.  This is to help prevent problems
when using the paths returned by this script with cygwin tools.
In particular, cygwin bash treats backslashes as a special character.

On Unix systems, returns the path unchanged.

Definition at line 34 of file python-config.py.


Variable Documentation

tuple python-config::abiflags = getattr(sys, "abiflags", "")

Definition at line 27 of file python-config.py.

list python-config::flags
Initial value:
00001 ['-I' + sysconfig.get_python_inc(),
00002                  '-I' + sysconfig.get_python_inc(plat_specific=True)]

Definition at line 54 of file python-config.py.

python-config::getvar = sysconfig.get_config_var

Definition at line 26 of file python-config.py.

list python-config::libs = []

Definition at line 61 of file python-config.py.

list python-config::opt_flags = [flag for (flag, val) in opts]

Definition at line 29 of file python-config.py.

tuple python-config::pyver = sysconfig.get_config_var('VERSION')

Definition at line 25 of file python-config.py.

list python-config::valid_opts
Initial value:
00001 ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
00002               'ldflags', 'help']

Definition at line 9 of file python-config.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines