File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ version := 1.2.0
2+
3+ build :
4+ python setup.py build
5+
6+ sdist :
7+ python setup.py sdist
8+
9+ upload : sdist
10+ twine3 upload -s dist/discid-$(version ) .tar.gz
11+
12+ check :
13+ python setup.py test -vv
14+
15+ check2 :
16+ python2 setup.py test -vv
17+
18+ disccheck :
19+ python setup.py test -vv --tests test_discid.TestDisc
20+
21+ disccheck2 :
22+ python2 setup.py test -vv --tests test_discid.TestDisc
23+
24+ doc :
25+ cd doc && make dirhtml
26+
27+ version :
28+ sed -i -e ' s/\(__version__\s=\s"\)[0-9.]\+[0-9a-z.-]*/\1$(version)/' \
29+ discid/__init__.py
30+ sed -i -e ' s/\(version="\)[0-9.]\+[0-9a-z.-]*/\1$(version)/' \
31+ setup.py
32+
33+ clean :
34+ rm -f * .pyc discid/* .pyc
35+ rm -rf __pycache__ discid/__pycache__
36+
37+ .PHONY : doc build
You can’t perform that action at this time.
0 commit comments