pman is a Python package to help bootstrap and manage Panda3D applications.
- Project quick-start
- Automatic asset conversion
- Automatically adds export directory to the model path
- Convenient CLI for running and testing applications
Use pip to install the panda3d-pman
package:
pip install panda3d-pman
Quick start a project with pman create
.
If you already have a directory for your project:
cd my_awesome_project
pman create .
pman
can also create the directory for you:
pman create my_awesome_project
In addition to the create
command, pman
has the following commands:
- help - display usage information
- build - convert all files in the assets directory and place them in the export directory
- run - run the application by calling
python
with the main file - test - run tests (shortcut for
python setup.py test
) - dist - create distributable forms of Panda3D applications (requires Panda3D 1.10+)
Primary configuration for pman
is located in a .pman
file located at the project root.
This configuration uses TOML for markup.
The .pman
configuration file is project-wide and should be checked in under version control.
Another, per-user configuration file also exists at the project root as .pman.user
.
This configuration file stores user settings and should not be checked into version control.