Bump copyright year
[planetfilter.git] / Makefile
bloba5f731fc37e7a2240207cb5dd47d9c14a3e6ffb8
1 VERSION := $(shell grep "VERSION =" planetfilter | perl -pe 's/^.+?([0-9.]+).$$/$$1/g')
3 all:
5 clean:
6 find -name "*.pyc" -delete
8 pyflakes:
9 @echo Running pyflakes...
10 @pyflakes3 planetfilter
12 pydocstyle:
13 @echo Running pydocstyle...
14 @pydocstyle planetfilter
16 pep8:
17 @echo Running pep8...
18 @pep8 planetfilter
20 codespell:
21 @echo Running codespell...
22 @codespell planetfilter
24 lint:
25 @echo Running pylint...
26 @pylint3 --rcfile=.pylintrc planetfilter
28 test: pep8 pydocstyle pyflakes lint codespell
30 dist: test
31 git commit -a -m "Bump version and changelog for release"
32 git tag -s planetfilter-$(VERSION) -m "$(VERSION) release"
33 python setup.py sdist
35 upload:
36 python setup.py sdist upload --sign