You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
698 B
40 lines
698 B
SHELL := /bin/bash
|
|
|
|
deps:
|
|
pip install --upgrade \
|
|
-r requirements/development.txt \
|
|
-r requirements/production.txt
|
|
|
|
sdist:
|
|
python setup.py sdist
|
|
python setup.py bdist_wheel
|
|
|
|
register:
|
|
python setup.py register
|
|
python setup.py sdist upload
|
|
python setup.py bdist_wheel upload
|
|
|
|
site:
|
|
cd docs; make html
|
|
|
|
test:
|
|
coverage run setup.py test
|
|
|
|
unittest:
|
|
coverage run -m unittest discover
|
|
|
|
lint:
|
|
flake8 --exit-zero funcsigs tests
|
|
|
|
coverage:
|
|
coverage report --show-missing
|
|
|
|
clean:
|
|
python setup.py clean --all
|
|
find . -type f -name "*.pyc" -exec rm '{}' +
|
|
find . -type d -name "__pycache__" -exec rmdir '{}' +
|
|
rm -rf *.egg-info .coverage
|
|
cd docs; make clean
|
|
|
|
docs: site
|