This repository has been archived on 2023-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-asset-manager/bam/pack.py
Sybren A. Stüvel e41f3268ca Support calling BAM pack via 'python -m bam.pack'.
This allows us to run "setup.py bdist_wheel", put the wheel on the
PYTHONPATH, and run BAM pack without having to install it on a virtualenv.
The main purpose is to be able to ship this wheel with Blender. Updating
Blender's version of BAM thus requires only putting in a new wheel file,
rather than the old error-prone approach of copy-and-edit.
2017-01-17 16:09:43 +01:00

11 lines
166 B
Python

"""CLI interface to BAM-pack.
Run this using:
python -m bam.pack
"""
if __name__ == '__main__':
from bam.blend import blendfile_pack
blendfile_pack.main()