Hacking¶
Development setup¶
Backy is intended to be compatible with Python 3.4. It is expected to work properly on Linux and Mac OS X, even though specific backends may not be available on all platforms. Use zc.buildout to get a development setup:
$ hg clone https://bitbucket.org/flyingcircus/backy
$ cd backy
$ virtualenv --python=python3.4 .
$ bin/pip install zc.buildout
$ bin/buildout
Running tests¶
Backy has some end-to-end tests which take a while. To run only quick unit tests:
$ bin/py.test
To run all tests:
$ bin/py.test -m 1
Releasing¶
Install zest.releaser on your workstation. Then use:
$ fullrelease
To upload the docs, check out the last release tag and run:
$ bin/buildout
$ bin/python setup.py upload_docs --upload-dir doc/_build/html