Skip to content

Commit 1de8073

Browse files
committed
add makefile for pypi release
1 parent 56f6e3b commit 1de8073

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# vim: set noexpandtab:
2+
pypi: pydist pypipush
3+
4+
pydist: pyclean test
5+
python setup.py sdist bdist_wheel
6+
7+
pypipush: dist
8+
twine upload dist/*
9+
10+
pyclean:
11+
python setup.py clean
12+
rm -rf *egg-info build dist
13+
14+
test: tox
15+
16+
unittest:
17+
python -m unittest discover
18+
19+
tox:
20+
tox
21+
22+
23+
.PHONY: pypi pydist pypipush pyclean test unittest tox

dev_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#releasing
22
bumpr
33
tox
4+
twine
45
wheel

0 commit comments

Comments
 (0)