From 6715302528b10072a7861f80e7efca1cc3c5830d Mon Sep 17 00:00:00 2001 From: Brent O'Connor Date: Tue, 16 Feb 2016 10:49:36 -0600 Subject: [PATCH] Added a makefile for common tasks --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f1aa85b --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +help: + @echo "" + @echo "Available make commands:" + @echo "" + @echo "deps Install development dependencies" + @echo "test Run tests" + @echo "publish Publish a release to PyPi (requires permissions)" + @echo "" + +deps: + pip install -r requirements.txt + pip install tox sphinx sphinx-autobuild + +test: + tox + +publish: + python setup.py register + python setup.py sdist upload + python setup.py bdist_wheel --universal upload + rm -fr build dist .egg requests.egg-info