Bundle a Tangram .yaml
scene file (and the corresponding dependences and components) into a single .zip
file.
Just do:
pip install tangram_bundler
tangram-bundle scene.yaml
NOTE: The Tangram Bundler works with Python 2.x but is incompatible with Python 3.x.
First you need to install some Python dependences:
pip install pyyaml
and the you can excecute the script directly from this repository by doing:
python <(curl -s https://raw.githubusercontent.com/tangrams/bundler/master/tangram_bundler/__init__.py)
Once the script runs will ask you for the main scene YAML file (the one that "rules" them all).
If you have the repo checked out and have made local modifications you'd like to test, run:
python setup.py install
Similarly, if you'd like to remove the library:
pip uninstall tangram_bundler