added skeleton Makefile

This commit is contained in:
David Marx
2018-09-07 18:23:56 -07:00
parent d21c3e72d1
commit 5702abdd1a
+15
View File
@@ -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)