distutils.command.build_py
index
/usr/lib/python2.1/distutils/command/build_py.py

distutils.command.build_py
 
Implements the Distutils 'build_py' command.

 
Modules
            
os
string
sys

 
Classes
            
distutils.cmd.Command
build_py

 
class build_py(distutils.cmd.Command)
       
  
__getattr__(self, attr) from distutils.cmd.Command
__init__(self, dist) from distutils.cmd.Command
_ensure_stringlike(self, option, what, default=None) from distutils.cmd.Command
_ensure_tested_string(self, option, tester, what, error_fmt, default=None) from distutils.cmd.Command
announce(self, msg, level=1) from distutils.cmd.Command
build_module(self, module, module_file, package)
build_modules(self)
build_packages(self)
byte_compile(self, files)
check_module(self, module, module_file)
check_package(self, package, package_dir)
copy_file(self, infile, outfile, preserve_mode=1, preserve_times=1, link=None, level=1) from distutils.cmd.Command
copy_tree(self, infile, outfile, preserve_mode=1, preserve_times=1, preserve_symlinks=0, level=1) from distutils.cmd.Command
debug_print(self, msg) from distutils.cmd.Command
dump_options(self, header=None, indent='') from distutils.cmd.Command
ensure_dirname(self, option) from distutils.cmd.Command
ensure_filename(self, option) from distutils.cmd.Command
ensure_finalized(self) from distutils.cmd.Command
ensure_string(self, option, default=None) from distutils.cmd.Command
ensure_string_list(self, option) from distutils.cmd.Command
execute(self, func, args, msg=None, level=1) from distutils.cmd.Command
finalize_options(self)
find_all_modules(self)
Compute the list of all modules that will be built, whether
they are specified one-module-at-a-time ('self.py_modules') or
by whole packages ('self.packages').  Return a list of tuples
(package, module, module_file), just like 'find_modules()' and
'find_package_modules()' do.
find_modules(self)
Finds individually-specified Python modules, ie. those listed by
module name in 'self.py_modules'.  Returns a list of tuples (package,
module_base, filename): 'package' is a tuple of the path through
package-space to the module; 'module_base' is the bare (no
packages, no dots) module name, and 'filename' is the path to the
".py" file (relative to the distribution root) that implements the
module.
find_package_modules(self, package, package_dir)
get_command_name(self) from distutils.cmd.Command
get_finalized_command(self, command, create=1) from distutils.cmd.Command
get_module_outfile(self, build_dir, package, module)
get_outputs(self, include_bytecode=1)
get_package_dir(self, package)
Return the directory, relative to the top of the source
distribution, where package 'package' should be found
(at least according to the 'package_dir' option, if any).
get_source_files(self)
get_sub_commands(self) from distutils.cmd.Command
initialize_options(self)
make_archive(self, base_name, format, root_dir=None, base_dir=None) from distutils.cmd.Command
make_file(self, infiles, outfile, func, args, exec_msg=None, skip_msg=None, level=1) from distutils.cmd.Command
mkpath(self, name, mode=511) from distutils.cmd.Command
move_file(self, src, dst, level=1) from distutils.cmd.Command
reinitialize_command(self, command, reinit_subcommands=0) from distutils.cmd.Command
run(self)
run_command(self, command) from distutils.cmd.Command
set_undefined_options(self, src_cmd, *option_pairs) from distutils.cmd.Command
spawn(self, cmd, search_path=1, level=1) from distutils.cmd.Command
warn(self, msg) from distutils.cmd.Command

 
Data
             BufferType = <type 'buffer'>
BuiltinFunctionType = <type 'builtin_function_or_method'>
BuiltinMethodType = <type 'builtin_function_or_method'>
ClassType = <type 'class'>
CodeType = <type 'code'>
ComplexType = <type 'complex'>
DictType = <type 'dictionary'>
DictionaryType = <type 'dictionary'>
EllipsisType = <type 'ellipsis'>
FileType = <type 'file'>
FloatType = <type 'float'>
FrameType = <type 'frame'>
FunctionType = <type 'function'>
InstanceType = <type 'instance'>
IntType = <type 'int'>
LambdaType = <type 'function'>
ListType = <type 'list'>
LongType = <type 'long int'>
MethodType = <type 'instance method'>
ModuleType = <type 'module'>
NoneType = <type 'None'>
SliceType = <type 'slice'>
StringType = <type 'string'>
TracebackType = <type 'traceback'>
TupleType = <type 'tuple'>
TypeType = <type 'type'>
UnboundMethodType = <type 'instance method'>
UnicodeType = <type 'unicode'>
XRangeType = <type 'xrange'>
__file__ = '/usr/lib/python2.1/distutils/command/build_py.pyc'
__name__ = 'distutils.command.build_py'
__revision__ = '$Id: build_py.py,v 1.33 2000/10/02 02:19:04 gward Exp $'