class build_py(orig.build_py): (source)
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.
Method | __getattr__ |
lazily compute data files |
Method | analyze |
Undocumented |
Method | build |
Undocumented |
Method | build |
Copy data files into build directory |
Method | check |
Check namespace packages' __init__ for declare_namespace |
Method | copy |
Undocumented |
Method | exclude |
Filter filenames for package's data files in 'src_dir' |
Method | finalize |
Undocumented |
Method | find |
Return filenames for package's data files in 'src_dir' |
Method | get |
Undocumented |
Method | get |
Generate list of ``(package,src_dir,build_dir,filenames)`` tuples, but without triggering any attempt to analyze or build the manifest. |
Method | get |
See :class:`setuptools.commands.build.SubCommand` |
Method | get |
See :class:`setuptools.commands.build.SubCommand` |
Method | get |
Undocumented |
Method | initialize |
Undocumented |
Method | run |
Build modules, packages, and copy data files to build directory |
Instance Variable | data |
Undocumented |
Instance Variable | editable |
Undocumented |
Instance Variable | exclude |
Undocumented |
Instance Variable | existing |
Undocumented |
Instance Variable | manifest |
Undocumented |
Instance Variable | package |
Undocumented |
Instance Variable | packages |
Undocumented |
Static Method | _get |
yield platform-specific path patterns (suitable for glob or fn_match) from a glob-based spec (such as self.package_data or self.exclude_package_data) matching package in src_dir. |
Method | _filter |
``build_meta`` may try to create egg_info outside of the project directory, and this can be problematic for certain plugins (reported in issue #3500). |
Method | _get |
Generate list of '(package,src_dir,build_dir,filenames)' tuples |
Method | _get |
Iterate over all modules producing (dest, src) pairs. |
Method | _get |
Iterate over package data producing (dest, src) pairs. |
Method | _get |
Undocumented |
Instance Variable | __updated |
Undocumented |
Undocumented
Generate list of ``(package,src_dir,build_dir,filenames)`` tuples, but without triggering any attempt to analyze or build the manifest.
yield platform-specific path patterns (suitable for glob or fn_match) from a glob-based spec (such as self.package_data or self.exclude_package_data) matching package in src_dir.
``build_meta`` may try to create egg_info outside of the project directory, and this can be problematic for certain plugins (reported in issue #3500). Extensions might also include between their sources files created on the ``build_lib`` and ``build_temp`` directories. This function should filter this case of invalid files out.