Installing¶
Installation is simple with pip:
pip install git+https://bitbucket.org/ftrack/ftrack-action-handler.git
Building from source¶
You can also build manually from the source for more control. First obtain a copy of the source by either downloading the zipball or cloning the public repository:
git clone git@bitbucket.org:ftrack/ftrack-action-handler.git
Then you can build and install the package into your current Python site-packages folder:
python setup.py install
Alternatively, just build locally and manage yourself:
python setup.py build
Building documentation from source¶
To build the documentation from source:
python setup.py build_sphinx
Then view in your browser:
file:///path/to/ftrack-action-handler/build/doc/html/index.html
Running tests against the source¶
With a copy of the source it is also possible to run the unit tests:
python setup.py test