Documented the way we bundle BAM with Blender
This commit is contained in:
23
README.rst
23
README.rst
@@ -4,3 +4,26 @@ BAM (Blender Asset Manager)
|
||||
|
||||
Script to manage assets with Blender.
|
||||
|
||||
|
||||
Bundling with Blender
|
||||
---------------------
|
||||
|
||||
Blender is bundled with a version of BAM. To update this version, first build
|
||||
a new `wheel <http://pythonwheels.com/>`_ file::
|
||||
|
||||
python3 setup.py bdist_wheel
|
||||
|
||||
Then copy this wheel to Blender::
|
||||
|
||||
cp dist/blender_bam-*.whl /path/to/blender/release/scripts/addons/io_blend_utils/
|
||||
|
||||
Remove old wheels that are still in `/path/to/blender/release/scripts/addons/io_blend_utils/`
|
||||
before committing.
|
||||
|
||||
|
||||
Running bam-pack from the wheel
|
||||
-------------------------------
|
||||
|
||||
This is the way that Blender runs bam-pack::
|
||||
|
||||
PYTHONPATH=./path/to/blender_bam-*.whl python3 -m bam.pack
|
||||
|
Reference in New Issue
Block a user