Makefile: use build instead of bdist to compile; build wheel as well as sdist in dist
target; use pip install
instead of setup.py install
; add clean
and uninstall
targets; define .PHONY targets
This commit is contained in:
parent
83f79bc2f4
commit
2ee1eab934
16
Makefile
16
Makefile
@ -1,14 +1,22 @@
|
|||||||
all:
|
all:
|
||||||
./setup.py bdist
|
./setup.py build
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
./setup.py sdist
|
./setup.py sdist bdist_wheel
|
||||||
|
|
||||||
install:
|
install:
|
||||||
./setup.py install
|
pip install --ignore-installed .
|
||||||
|
|
||||||
install-user:
|
install-user:
|
||||||
./setup.py install --user
|
pip install --ignore-installed --user .
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
pip uninstall --yes fonttools
|
||||||
|
|
||||||
check: all
|
check: all
|
||||||
./run-tests.sh
|
./run-tests.sh
|
||||||
|
|
||||||
|
clean:
|
||||||
|
./setup.py clean --all
|
||||||
|
|
||||||
|
.PHONY: all dist install install-user uninstall check clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user