0
0
Fork 0
Go to file
Campbell Barton 93ecbdf125 Use name bl_ext_pkg.toml for the manifest
Prefer a shorter name
2023-12-12 23:08:17 +11:00
blender_addon/bl_pkg Use name bl_ext_pkg.toml for the manifest 2023-12-12 23:08:17 +11:00
example_extension Use name bl_ext_pkg.toml for the manifest 2023-12-12 23:08:17 +11:00
tests Use name bl_ext_pkg.toml for the manifest 2023-12-12 23:08:17 +11:00
Makefile Make PYTHON_BIN an option when running tests 2023-12-12 22:26:02 +11:00
pyproject.toml Initial blender extensions project. 2023-06-29 16:51:51 +10:00
readme.rst Make PYTHON_BIN an option when running tests 2023-12-12 22:26:02 +11:00

readme.rst

Blender Extensions

Directory Layout

./blender_addon/bl_pkg/cli/

The stand-alone command line utility to manage extensions.

./blender_addon/bl_pkg/

The Blender add-on which wraps the command line utility (abstracts details of interacting with the package manager & repositories).

./tests/

Automated tests.

To run tests via the Makefile.

Test the command line application.

make test PYTHON_BIN=/path/to/bin/python3.11

If your system Python is v3.11 or newer you may omit PYTHON_BIN.

make test_blender BLENDER_BIN=/path/to/blender

GUI

This GUI is work-in-progress, currently its been made to work with an un-modified Blender 4.0.

  • Link blender_addon/bl_pkg into your add-ons directly.

  • Enable the blender extensions add-on from Blender.

  • Enable the blender extensions checkbox in the add-ons preference (this is a temporary location).

  • Repositories can be added/removed from the “Files” section in the preferences.

Hacking

Some useful hints.

When developing the command line interface, these tests can be setup to run on file-change, run:

make watch_test

To run Blender tests.

make watch_test_blender BLENDER_BIN=/path/to/blender