From 5702abdd1a0ccd60b115fc4b545eb2c087c56194 Mon Sep 17 00:00:00 2001 From: David Marx Date: Fri, 7 Sep 2018 18:23:56 -0700 Subject: [PATCH] added skeleton Makefile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile 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)