Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
build_apps Class Reference
Inheritance diagram for build_apps:

Public Member Functions

def add_dependency (self, name, target_dir, search_path, referenced_by)
 
def build_runtimes (self, platform, use_wheels)
 
def bundle_macos_app (self, builddir)
 
def copy (self, source_path, target_path)
 
def copy_dependencies (self, target_path, target_dir, search_path, referenced_by)
 
def copy_with_dependencies (self, source_path, target_path, search_path)
 
def download_wheels (self, platform)
 
def expand_path (self, path, platform)
 
def finalize_options (self)
 
def initialize_options (self)
 
def run (self)
 

Public Attributes

 build_base
 
 console_apps
 
 default_prc_dir
 
 embed_prc_data
 
 exclude_dependencies
 
 exclude_modules
 
 exclude_patterns
 
 extra_prc_data
 
 extra_prc_files
 
 file_handlers
 
 gui_apps
 
 include_modules
 
 include_patterns
 
 log_append
 
 log_filename
 
 macos_main_app
 
 optimized_wheel_index
 
 package_data_dirs
 
 platforms
 
 plugins
 
 pypi_extra_indexes
 
 rename_paths
 
 requirements_path
 
 use_optimized_wheels
 

Static Public Attributes

dictionary default_file_handlers
 
string description = 'build Panda3D applications'
 
list user_options
 

Member Function Documentation

◆ add_dependency()

def 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()

def build_runtimes (   self,
  platform,
  use_wheels 
)
Builds the distributions for the given platform. 

◆ bundle_macos_app()

def bundle_macos_app (   self,
  builddir 
)
Bundle built runtime into a .app for macOS

◆ copy()

def copy (   self,
  source_path,
  target_path 
)
Copies source_path to target_path.

source_path may be located inside a .whl file. 

◆ copy_dependencies()

def copy_dependencies (   self,
  target_path,
  target_dir,
  search_path,
  referenced_by 
)
Copies the dependencies of target_path into target_dir. 

◆ copy_with_dependencies()

def 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()

def 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()

def expand_path (   self,
  path,
  platform 
)

◆ finalize_options()

def finalize_options (   self)

◆ initialize_options()

def initialize_options (   self)

◆ run()

def run (   self)

Member Data Documentation

◆ build_base

build_base

◆ console_apps

console_apps

◆ default_file_handlers

dictionary default_file_handlers
static
Initial value:
= {
'.egg': egg2bam,
}

◆ default_prc_dir

default_prc_dir

◆ description

string description = 'build Panda3D applications'
static

◆ embed_prc_data

embed_prc_data

◆ exclude_dependencies

exclude_dependencies

◆ exclude_modules

exclude_modules

◆ exclude_patterns

exclude_patterns

◆ extra_prc_data

extra_prc_data

◆ extra_prc_files

extra_prc_files

◆ file_handlers

file_handlers

◆ gui_apps

gui_apps

◆ include_modules

include_modules

◆ include_patterns

include_patterns

◆ log_append

log_append

◆ log_filename

log_filename

◆ macos_main_app

macos_main_app

◆ optimized_wheel_index

optimized_wheel_index

◆ package_data_dirs

package_data_dirs

◆ platforms

platforms

◆ plugins

plugins

◆ pypi_extra_indexes

pypi_extra_indexes

◆ rename_paths

rename_paths

◆ requirements_path

requirements_path

◆ use_optimized_wheels

use_optimized_wheels

◆ user_options

list user_options
static
Initial value:
= [
('build-base=', None, 'directory to build applications in'),
('requirements-path=', None, 'path to requirements.txt file for pip'),
('platforms=', 'p', 'a list of platforms to build for'),
]