After checkout, install dependencies and package in active virtualenv:
$ pip -e git+https://github.com/thijstriemstra/python-video-converter.git#egg=python-video-converter $ pip install -e . $ pip install -r encode/tests/requirements.txt
Running tests with Tox:
$ tox -v
Or alternatively:
$ python setup.py test
Running tests without Tox:
$ ./runtests.py
Directly with django-admin
:
$ django-admin test --settings=encode.tests.settings encode
To generate a test coverage report using coverage.py:
$ coverage run --source='.' runtests.py $ coverage html
The resulting HTML report can be found in the htmlcov
directory.
To collect all strings for the locale nl
into django.po
:
$ django-admin makemessages --settings=encode.tests.settings --ignore=tests/*.py -l nl
After translating, compile the django.po
catalog into the binary
version django.mo:
$ django-admin compilemessages --settings=encode.tests.settings
Install Sphinx:
$ pip install sphinx>=1.1.0
Change to the doc
directory and run:
$ make html
The resulting HTML output can be found in the doc/_build/html
directory.