Skip to content

Commit

Permalink
Add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Talendar committed Feb 7, 2021
1 parent 5d46024 commit 5cca70f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# build everything
all: test deployment

# run the Python test suite
test:

# clean the build directory
clean:
rm -rf build/ dist/ .eggs/ *.egg-info/ || true
find . -name "*.pyc" -delete
find . -name "__pycache__" -delete

# build the deployment package
deployment: clean
python3 setup.py sdist bdist_wheel

# ship the deployment package to PyPi
ship: test deployment
twine upload dist/*

0 comments on commit 5cca70f

Please sign in to comment.