From 0fba59bd2574213eac03924578a1797ecc2a286f Mon Sep 17 00:00:00 2001 From: Martin Thoma Date: Thu, 7 Apr 2022 19:35:11 +0200 Subject: [PATCH] DEV: Add Makefile for easy package uploads --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..a0aeb720e --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +maint: + pre-commit autoupdate + pip-compile -U requirements/ci.in + pip-compile -U requirements/dev.in + +upload: + make clean + python setup.py sdist bdist_wheel && twine upload -s dist/* + +clean: + python setup.py clean --all + pyclean . + +test: + pytest Tests/tests.py Tests --cov --cov-report term-missing -vv --cov-report html