Skip to content

Commit a83087c

Browse files
committed
Add Makefile
1 parent b9d2600 commit a83087c

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.PHONY: clean-pyc clean-build test
2+
3+
clean: clean-build clean-pyc
4+
5+
clean-build:
6+
rm -fr build/
7+
rm -fr dist/
8+
rm -fr src/*.egg-info
9+
10+
clean-pyc:
11+
find . -name '*.pyc' -exec rm -f {} +
12+
find . -name '*.pyo' -exec rm -f {} +
13+
find . -name '*~' -exec rm -f {} +
14+
15+
release: sdist
16+
twine check dist/*
17+
twine upload dist/*
18+
19+
release-test: sdist
20+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
21+
22+
sdist: clean
23+
python setup.py sdist bdist_wheel
24+
ls -l dist

0 commit comments

Comments
 (0)