Orbits
1
|
Public Member Functions | |
def | finalize_options |
def | run |
def | __getattr__ |
def | build_module |
def | find_data_files |
def | build_package_data |
def | analyze_manifest |
def | get_data_files |
def | get_outputs |
def | check_package |
def | initialize_options |
def | get_package_dir |
def | exclude_data_files |
Public Member Functions inherited from setuptools.command.build_py.Mixin2to3 | |
def | run_2to3 |
Public Attributes | |
package_data | |
exclude_package_data | |
data_files | |
manifest_files | |
packages_checked | |
Private Member Functions | |
def | _get_data_files |
Private Attributes | |
__updated_files | |
__doctests_2to3 | |
Enhanced 'build_py' command that includes data files with packages The data files are specified via a 'package_data' argument to 'setup()'. See 'setuptools.dist.Distribution' for more details. Also, this version of the 'build_py' command allows you to specify both 'py_modules' and 'packages' in the same setup operation.
def setuptools.command.build_py.build_py.__getattr__ | ( | self, | |
attr | |||
) |
|
private |
Generate list of '(package,src_dir,build_dir,filenames)' tuples
def setuptools.command.build_py.build_py.analyze_manifest | ( | self | ) |
def setuptools.command.build_py.build_py.build_module | ( | self, | |
module, | |||
module_file, | |||
package | |||
) |
def setuptools.command.build_py.build_py.build_package_data | ( | self | ) |
Copy data files into build directory
def setuptools.command.build_py.build_py.check_package | ( | self, | |
package, | |||
package_dir | |||
) |
Check namespace packages' __init__ for declare_namespace
def setuptools.command.build_py.build_py.exclude_data_files | ( | self, | |
package, | |||
src_dir, | |||
files | |||
) |
Filter filenames for package's data files in 'src_dir'
def setuptools.command.build_py.build_py.finalize_options | ( | self | ) |
def setuptools.command.build_py.build_py.find_data_files | ( | self, | |
package, | |||
src_dir | |||
) |
Return filenames for package's data files in 'src_dir'
def setuptools.command.build_py.build_py.get_data_files | ( | self | ) |
def setuptools.command.build_py.build_py.get_outputs | ( | self, | |
include_bytecode = 1 |
|||
) |
Return complete list of files copied to the build directory This includes both '.py' files and data files, as well as '.pyc' and '.pyo' files if 'include_bytecode' is true. (This method is needed for the 'install_lib' command to do its job properly, and to generate a correct installation manifest.)
def setuptools.command.build_py.build_py.get_package_dir | ( | self, | |
package | |||
) |
def setuptools.command.build_py.build_py.initialize_options | ( | self | ) |
def setuptools.command.build_py.build_py.run | ( | self | ) |
Build modules, packages, and copy data files to build directory
|
private |
|
private |
setuptools.command.build_py.build_py.data_files |
setuptools.command.build_py.build_py.exclude_package_data |
setuptools.command.build_py.build_py.manifest_files |
setuptools.command.build_py.build_py.package_data |
setuptools.command.build_py.build_py.packages_checked |
Copyright 2014 Google Inc. All rights reserved.