-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ . |