mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 02:04:36 +03:00
Merge pull request #2781 from hugovk/makefile-install-coverage
Add option to make and install with C coverage
This commit is contained in:
commit
7c4cb6816f
33
Makefile
33
Makefile
|
@ -37,19 +37,20 @@ docserve:
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Welcome to Pillow development. Please use \`make <target>\` where <target> is one of"
|
@echo "Welcome to Pillow development. Please use \`make <target>\` where <target> is one of"
|
||||||
@echo " clean remove build products"
|
@echo " clean remove build products"
|
||||||
@echo " coverage run coverage test (in progress)"
|
@echo " coverage run coverage test (in progress)"
|
||||||
@echo " doc make html docs"
|
@echo " doc make html docs"
|
||||||
@echo " docserve run an http server on the docs directory"
|
@echo " docserve run an http server on the docs directory"
|
||||||
@echo " html to make standalone HTML files"
|
@echo " html to make standalone HTML files"
|
||||||
@echo " inplace make inplace extension"
|
@echo " inplace make inplace extension"
|
||||||
@echo " install make and install"
|
@echo " install make and install"
|
||||||
@echo " install-req install documentation and test dependencies"
|
@echo " install-coverage make and install with C coverage"
|
||||||
@echo " install-venv install in virtualenv"
|
@echo " install-req install documentation and test dependencies"
|
||||||
@echo " release-test run code and package tests before release"
|
@echo " install-venv install in virtualenv"
|
||||||
@echo " test run tests on installed pillow"
|
@echo " release-test run code and package tests before release"
|
||||||
@echo " upload build and upload sdists to PyPI"
|
@echo " test run tests on installed pillow"
|
||||||
@echo " upload-test build and upload sdists to test.pythonpackages.com"
|
@echo " upload build and upload sdists to PyPI"
|
||||||
|
@echo " upload-test build and upload sdists to test.pythonpackages.com"
|
||||||
|
|
||||||
inplace: clean
|
inplace: clean
|
||||||
python setup.py build_ext --inplace
|
python setup.py build_ext --inplace
|
||||||
|
@ -58,9 +59,13 @@ install:
|
||||||
python setup.py install
|
python setup.py install
|
||||||
python selftest.py --installed
|
python selftest.py --installed
|
||||||
|
|
||||||
|
install-coverage:
|
||||||
|
CFLAGS="-coverage" python setup.py build_ext install
|
||||||
|
python selftest.py --installed
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
# make a debug version if we don't have a -dbg python. Leaves in symbols
|
# make a debug version if we don't have a -dbg python. Leaves in symbols
|
||||||
# for our stuff, kills optimization, and redirects to dev null so we
|
# for our stuff, kills optimization, and redirects to dev null so we
|
||||||
# see any build failures.
|
# see any build failures.
|
||||||
make clean > /dev/null
|
make clean > /dev/null
|
||||||
CFLAGS='-g -O0' python setup.py build_ext install > /dev/null
|
CFLAGS='-g -O0' python setup.py build_ext install > /dev/null
|
||||||
|
|
Loading…
Reference in New Issue
Block a user