From bc828d4166e39f15023e1db9bfb441d6723b1c07 Mon Sep 17 00:00:00 2001 From: Noam Date: Fri, 22 Jan 2021 00:31:40 +0200 Subject: [PATCH] Changed makefile to build and upload wheel. --- Makefile | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3f0c2b0..d6c85bc 100644 --- a/Makefile +++ b/Makefile @@ -35,11 +35,21 @@ install_pandoc: sudo apt install pandoc pip install pypandoc -pypitest: - python setup.py sdist upload -r pypitest +sdist: + python setup.py sdist -pypi: - python setup.py sdist upload -r pypi +bdist_wheel: + pip install wheel + python setup.py bdist_wheel + +twine: + pip install twine + +pypitest: sdist bdist_wheel twine + twine upload -r pypitest dist/* + +pypi: sdist bdist_wheel twine + twine upload -r pypi dist/* clean_venv: