Build

Automate packaging your Ursina project for distribution.

Build

# instantiate and call methods on:
build = Build()
# use build.copytree(src, dst, ...)

Overview

Configures paths and options for collecting Python files, assets, and engine runtime into a distributable folder. Supports ignoring patterns and compressing textures.

Example

# from a project root
from ursina.build import Build
b = Build()
b.copytree('assets', 'build/assets', ignore_filetypes=['.psd'])