Panda3D
|
Public Member Functions | |
add_dependency (self, name, target_dir, search_path, referenced_by) | |
build_runtimes (self, platform, use_wheels) | |
bundle_macos_app (self, builddir) | |
copy (self, source_path, target_path) | |
copy_dependencies (self, target_path, target_dir, search_path, referenced_by) | |
copy_with_dependencies (self, source_path, target_path, search_path) | |
download_wheels (self, platform) | |
expand_path (self, path, platform) | |
finalize_options (self) | |
initialize_options (self) | |
run (self) | |
update_pe_resources (self, appname, runtime) | |
Static Public Attributes | |
dict | default_file_handlers |
str | description = 'build Panda3D applications' |
list | user_options |
Protected Member Functions | |
_get_zip_file (self, path) | |
_read_dependencies_elf (self, elf, origin, search_path) | |
_read_dependencies_fat (self, fp, is_64bit, flatten=False) | |
_read_dependencies_macho (self, fp, endian, flatten=False) | |
Protected Attributes | |
_zip_files | |
|
protected |
|
protected |
Having read the first 4 bytes of the ELF file, fetches the dependent libraries and returns those as a list.
|
protected |
|
protected |
Having read the first 4 bytes of the Mach-O file, fetches the dependent libraries and returns those as a list. If flatten is True, if the dependencies contain paths like @loader_path/../.dylibs/libsomething.dylib, it will rewrite them to instead contain @loader_path/libsomething.dylib if possible. This requires the file pointer to be opened in rb+ mode.
add_dependency | ( | self, | |
name, | |||
target_dir, | |||
search_path, | |||
referenced_by ) |
Searches for the given DLL on the search path. If it exists, copies it to the target_dir.
build_runtimes | ( | self, | |
platform, | |||
use_wheels ) |
Builds the distributions for the given platform.
bundle_macos_app | ( | self, | |
builddir ) |
Bundle built runtime into a .app for macOS
copy | ( | self, | |
source_path, | |||
target_path ) |
Copies source_path to target_path. source_path may be located inside a .whl file.
copy_dependencies | ( | self, | |
target_path, | |||
target_dir, | |||
search_path, | |||
referenced_by ) |
Copies the dependencies of target_path into target_dir.
copy_with_dependencies | ( | self, | |
source_path, | |||
target_path, | |||
search_path ) |
Copies source_path to target_path. It also scans source_path for any dependencies, which are located along the given search_path and copied to the same directory as target_path. source_path may be located inside a .whl file.
download_wheels | ( | self, | |
platform ) |
Downloads wheels for the given platform using pip. This includes panda3d wheels. These are special wheels that are expected to contain a deploy_libs directory containing the Python runtime libraries, which will be added to sys.path.
expand_path | ( | self, | |
path, | |||
platform ) |
finalize_options | ( | self | ) |
initialize_options | ( | self | ) |
run | ( | self | ) |
update_pe_resources | ( | self, | |
appname, | |||
runtime ) |
Update resources (e.g., icons) in windows PE file
|
protected |
bam_model_extensions |
build_base |
console_apps |
|
static |
default_prc_dir |
|
static |
embed_prc_data |
exclude_dependencies |
exclude_modules |
exclude_patterns |
extra_prc_data |
extra_prc_files |
file_handlers |
gui_apps |
icon_objects |
icons |
include_modules |
include_patterns |
log_append |
log_filename |
log_filename_strftime |
macos_main_app |
optimized_wheel_index |
package_data_dirs |
platforms |
plugins |
prefer_discrete_gpu |
pypi_extra_indexes |
rename_paths |
requirements_path |
strip_docstrings |
use_optimized_wheels |
|
static |