Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1016 Bytes

README.md

File metadata and controls

47 lines (29 loc) · 1016 Bytes

Tangram Bundler

Bundle a Tangram .yaml scene file (and the corresponding dependences and components) into a single .zip file.

How to use it by installing it locally

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.

How to use it without installing locally

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).

Development

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