Mercurial > repos > vimalkumarvelayudhan > riboplot
comparison Makefile @ 3:8e1efafa6277
Updated version
* Bugfix: blue lines in some plots (bar colors were not set correctly)
* Cookiecutter template
* Additional unit tests
* Add plot legend
author | Vimalkumar Velayudhan <vimal@biotechcoder.com> |
---|---|
date | Wed, 12 Aug 2015 09:27:45 +0100 |
parents | |
children | 096c6bbf4a04 |
comparison
equal
deleted
inserted
replaced
2:b6fd86c539ea | 3:8e1efafa6277 |
---|---|
1 .PHONY: clean-pyc clean-build docs clean | |
2 | |
3 help: | |
4 @echo "clean - remove all build, test, coverage and Python artifacts" | |
5 @echo "clean-build - remove build artifacts" | |
6 @echo "clean-pyc - remove Python file artifacts" | |
7 @echo "clean-test - remove test and coverage artifacts" | |
8 @echo "lint - check style with flake8" | |
9 @echo "test - run tests quickly with the default Python" | |
10 @echo "test-all - run tests on every Python version with tox" | |
11 @echo "coverage - check code coverage quickly with the default Python" | |
12 @echo "docs - generate Sphinx HTML documentation, including API docs" | |
13 @echo "release - package and upload a release" | |
14 @echo "dist - package" | |
15 @echo "install - install the package to the active Python's site-packages" | |
16 | |
17 clean: clean-build clean-pyc clean-test | |
18 | |
19 clean-build: | |
20 rm -fr build/ | |
21 rm -fr dist/ | |
22 rm -fr .eggs/ | |
23 find . -name '*.egg-info' -exec rm -fr {} + | |
24 find . -name '*.egg' -exec rm -f {} + | |
25 | |
26 clean-pyc: | |
27 find . -name '*.pyc' -exec rm -f {} + | |
28 find . -name '*.pyo' -exec rm -f {} + | |
29 find . -name '*~' -exec rm -f {} + | |
30 find . -name '__pycache__' -exec rm -fr {} + | |
31 | |
32 clean-test: | |
33 rm -fr .tox/ | |
34 rm -f .coverage | |
35 rm -fr htmlcov/ | |
36 | |
37 lint: | |
38 flake8 riboplot tests | |
39 | |
40 test: | |
41 python setup.py test | |
42 | |
43 test-all: | |
44 tox | |
45 | |
46 coverage: | |
47 coverage run --source riboplot setup.py test | |
48 coverage report -m | |
49 coverage html | |
50 open htmlcov/index.html | |
51 | |
52 docs: | |
53 rm -f docs/riboplot.rst | |
54 rm -f docs/modules.rst | |
55 sphinx-apidoc -o docs/ riboplot | |
56 $(MAKE) -C docs clean | |
57 $(MAKE) -C docs html | |
58 open docs/_build/html/index.html | |
59 | |
60 release: clean | |
61 python setup.py sdist upload | |
62 python setup.py bdist_wheel upload | |
63 | |
64 dist: clean | |
65 python setup.py sdist | |
66 python setup.py bdist_wheel | |
67 ls -l dist | |
68 | |
69 install: clean | |
70 python setup.py install |