Ft.Lib.DistExt.Config

Modules

ConfigParser  sys  util   
os  sysconfig     

Classes

class Command
__getattr__(self, attr)
__init__(self, dist)
_ensure_stringlike(self, option, what, default=None)
_ensure_tested_string(self, option, tester, what, error_fmt, default=None)
announce(self, msg, level=1)
copy_file(self, infile, outfile, preserve_mode=1, preserve_times=1, link=None, level=1)
copy_tree(self, infile, outfile, preserve_mode=1, preserve_times=1, preserve_symlinks=0, level=1)
debug_print(self, msg)
dump_options(self, header=None, indent='')
ensure_dirname(self, option)
ensure_filename(self, option)
ensure_finalized(self)
ensure_string(self, option, default=None)
ensure_string_list(self, option)
execute(self, func, args, msg=None, level=1)
finalize_options(self)
get_command_name(self)
get_finalized_command(self, command, create=1)
get_sub_commands(self)
initialize_options(self)
make_archive(self, base_name, format, root_dir=None, base_dir=None)
make_file(self, infiles, outfile, func, args, exec_msg=None, skip_msg=None, level=1)
mkpath(self, name, mode=511)
move_file(self, src, dst, level=1)
reinitialize_command(self, command, reinit_subcommands=0)
run(self)
run_command(self, command)
set_undefined_options(self, src_cmd, *option_pairs)
spawn(self, cmd, search_path=1, level=1)
warn(self, msg)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'distutils.cmd'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
sub_commands = []
class Config(distutils.cmd.Command)
finalize_options(self)
finalize_other(self)
finalize_posix(self)
get_config_vars(self)
initialize_options(self)
run(self)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Lib.DistExt.Config'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
boolean_options = ['local', 'system', 'debug']
command_name = 'config'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
description = 'select installation scheme and base directories'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
help_options = [('help-compiler', None, 'list available compilers', <function show_compilers>)]
user_options = [('local', None, '(POSIX only) Use FHS /usr/local installation scheme'), ('system', None, '(POSIX only) Use FHS /usr installation scheme (e.g. for RPM builds)'), ('prefix=', None, 'Use POSIX autoconf-style or Windows installation scheme with this prefix'), ('exec-prefix=', None, '(POSIX only) Prefix for platform-specific files when using autoconf-style scheme'), ('home=', None, '(POSIX only) Use home directory installation scheme with this prefix'), ('pythonlibdir=', None, 'Directory for 3rd-party Python libraries (site-packages)'), ('bindir=', None, 'Directory for user executables'), ('datadir=', None, 'Directory for read-only platform-independent data'), ('sysconfdir=', None, 'Directory for read-only host-specific data'), ('localstatedir=', None, 'Directory for modifiable host-specific data'), ('libdir=', None, 'Directory for program & package libraries'), ('docdir=', None, 'Directory for documentation files'), ('localedir=', None, 'Directory for message catalogs'), ('compiler=', 'c', 'specify the compiler type'), ('debug', 'g', 'compile extensions and libraries with debugging information')]
class DistutilsOptionError(distutils.errors.DistutilsError)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'distutils.errors'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

show_compilers()

Data

CACHE_FILENAME = 'config.cache'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
CONFIG_KEYS = ('prefix', 'exec_prefix', 'pythonlibdir', 'bindir', 'datadir', 'sysconfdir', 'localstatedir', 'libdir', 'docdir', 'localedir', 'compiler', 'debug')
tuple() -> an empty tuple tuple(sequence) -> tuple initialized from sequence's items

If the argument is a tuple, the return value is the same object.
CONFIG_SCHEMES = {'fhs_local': {'bindir': '/usr/local/bin', 'datadir': '/usr/local/share/$name', 'docdir': '/usr/local/share/doc/$fullname', 'libdir': '/usr/local/lib/$name', 'localedir': '/usr/local/share/locale', 'localstatedir': '/var/local/lib/$name', 'pythonlibdir': '/usr/lib/python2.2/site-packages', 'sysconfdir': '/usr/local/etc/$name'}, 'fhs_system': {'bindir': '/usr/bin', 'datadir': '/usr/share/$name', 'docdir': '/usr/share/doc/$fullname', 'libdir': '/usr/lib/$name', 'localedir': '/usr/share/locale', 'localstatedir': '/var/lib/$name', 'pythonlibdir': '/usr/lib/python2.2/site-packages', 'sysconfdir': '/etc/$name'}, 'nt': {'bindir': '$prefix/Scripts', 'datadir': '$prefix/Share/$name', 'docdir': '$prefix/Share/Doc/$fullname', 'libdir': '$prefix/Share/$name', 'localedir': '$prefix/Share/Locale', 'localstatedir': '$prefix/Share/$name', 'pythonlibdir': '$prefix/Lib/site-packages', 'sysconfdir': '$prefix/Share/Settings/$name'}, 'other': {'bindir': '$prefix/Scripts', 'datadir': '$prefix/Share/$name', 'docdir': '$prefix/Share/Doc/$fullname', 'libdir': '$prefix/Share/$name', 'localedir': '$prefix/Share/Locale', 'localstatedir': '$prefix/Share/$name', 'pythonlibdir': '$prefix/Lib/site-packages', 'sysconfdir': '$prefix/Share/Settings/$name'}, 'posix_autoconf': {'bindir': '$exec_prefix/bin', 'datadir': '$prefix/share/$name', 'docdir': '$prefix/share/doc/$fullname', 'libdir': '$exec_prefix/lib/$name', 'localedir': '$datadir/locale', 'localstatedir': '$exec_prefix/var/$name', 'pythonlibdir': '/usr/lib/python2.2/site-packages', 'sysconfdir': '$prefix/etc/$name'}, 'posix_home': {'bindir': '$prefix/bin', 'datadir': '$prefix/share/$name', 'docdir': '$prefix/share/doc/$fullname', 'libdir': '$prefix/lib/$name', 'localedir': '$prefix/share/locale', 'localstatedir': '$prefix/share/var/$name', 'pythonlibdir': '$prefix/lib/python', 'sysconfdir': '$prefix/share/etc/$name'}}
DEBUG = None
__file__ = 'build/lib.linux-ppc-2.2/Ft/Lib/DistExt/Config.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Lib.DistExt.Config'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.