Development Installation¶
Requirements¶
Python 2.x, 3.x
Development install¶
After forking or checking out:
$ cd translate-python/
$ pip install -r requirements-dev.txt
$ pre-commit install
The requirements-dev are only used for development, so we can easily install/track dependencies required to run the tests using continuous integration platforms.
The official entrypoint for distritubution is the requirements.txt
which
contains the minimum requirements to execute the tests.
Running tests:
$ make test
or:
$ py.test -vv -s
Generating documentation:
$ cd docs/
$ make html