-
Notifications
You must be signed in to change notification settings - Fork 12
/
requirements-dev.txt
25 lines (25 loc) · 1.05 KB
/
requirements-dev.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This is an annoteted version because I tend to forget.
#
# After 'git clone':
#
# virtualenv -p python2 venv/python2 && source venv/python2/bin/activate
# python setup.py develop && pip install -U pip -r requirements-dev.txt
#
# virtualenv -p python3 venv/python3 && source venv/python3/bin/activate
# python setup.py develop && pip install -U pip -r requirements-dev.txt
#
# Before 'git push':
#
# pip install --upgrade -r requirements-dev.txt
# tox -c tox.ini # or just tox
#
# Required packages and typical use:
#
pytest # run regression tests "py.test"
pytest-cov # check code coverage "py.test --cov ndef --cov-report html"
flake8 # syntax and style checks "flake8 src/ tests/"
tox # run tests before push "tox -c tox.ini"
sphinx # to create documentation "(cd docs && make html doctest)"
sphinx-rtd-theme # with the final layout "firefox docs/_build/html/index.html"
cryptography # for signature documentation examples
asn1crypto # for signature documentation examples