Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_blend_utils/README.md')
-rw-r--r--io_blend_utils/README.md17
1 files changed, 11 insertions, 6 deletions
diff --git a/io_blend_utils/README.md b/io_blend_utils/README.md
index 436ec684..e3f3b0a0 100644
--- a/io_blend_utils/README.md
+++ b/io_blend_utils/README.md
@@ -10,17 +10,23 @@ Bundling BAM with Blender
-------------------------
Blender is bundled with a version of [BAM](https://pypi.python.org/pypi/blender-bam/).
-To update this version, first build a new `wheel <http://pythonwheels.com/>`_ file in
+To update this version, first build a new [wheel](http://pythonwheels.com/) file in
BAM itself:
python3 setup.py bdist_wheel
-Then copy this wheel to Blender:
+Since we do not want to have binaries in the addons repository, unpack this wheel to Blender
+by running:
- cp dist/blender_bam-xxx.whl /path/to/blender/release/scripts/addons/io_blend_utils/
+ python3 install_whl.py /path/to/blender-asset-manager/dist/blender_bam-xxx.whl
-Remove old wheels that are still in `/path/to/blender/release/scripts/addons/io_blend_utils/`
-before committing.
+This script also updates `__init__.py` to update the version number and path of the extracted
+wheel, and removes any pre-existing older versions of the BAM wheels.
+
+The version number and `.whl` extension are maintained in the directory name on purpose.
+This way it is clear that it is not a directory to import directly into Blender itself.
+Furthermore, I (Sybren) hope that it helps to get changes made in the addons repository
+back into the BAM repository.
Running bam-pack from the wheel
@@ -29,4 +35,3 @@ Running bam-pack from the wheel
This is the way that Blender runs bam-pack:
PYTHONPATH=./path/to/blender_bam-xxx.whl python3 -m bam.pack
-