Skip to content

Commit

Permalink
MAINT: sdist/wheel Makefile rules
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed May 10, 2019
1 parent 56968f4 commit 74aafa6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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/ .

0 comments on commit 74aafa6

Please sign in to comment.