It builds most of the necessary boilerplate, including but not limited to:
setup.pyfor installing the extension with
.travis.ymlfor running tests against CATMAID
- An API endpoint for checking whether the extension is installed
- A unit test for hitting that endpoint
- An empty frontend widget
pip install --user cookiecutter
cookiecutterto fetch and use this template:
This is unlikely to be actively maintained as CATMAID changes (e.g. directory reorganisation, travis build steps, widget conventions), but pull requests to update it are welcome!
Fork and clone the CATMAID-myextension repo
into the examples/ directory.
Make your changes to
CATMAID-ext-cookiecutter and then run examples/regenerate.sh
to write your template's output into that repo and make a commit.
The commit message will contain the
CATMAID-ext-cookiecutter's current hash and working directory diff.