diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a9c11d2 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +# Get version number from file +# dynamically define filename of wheel object from version number +# Make a build target for the current version's wheel +# add as a dependency to the publish make targets + +.PHONY: wheel test-publish publish + +wheel: + python setup.py sdist bdist_wheel + +test-publish: wheel + twine upload --repository-url https://test.pypi.org/legacy/ dist/$(ls dist | tail -1) + +publish: wheel + twine upload dist/$(ls dist | tail -1)