From 74aafa6fe4397ccf504742bb5c6d31deda0fe1d6 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Fri, 10 May 2019 08:21:50 -0400 Subject: [PATCH] MAINT: sdist/wheel Makefile rules --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6bad877a..5255c0cd 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,18 @@ help: @$(MAKE) -C docs help -.PHONY: Makefile +.PHONY: Makefile build-deps sdist wheel # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile @$(MAKE) -C docs $@ + +build-deps: + python -m pip install --upgrade pip setuptools wheel + +sdist: build-deps + python setup.py sdist + +wheel: build-deps + python -m pip wheel --no-deps -w dist/ .