Pillow/Makefile

45 lines
911 B
Makefile
Raw Normal View History

2014-06-27 23:07:53 +04:00
2013-09-30 14:10:10 +04:00
pre:
virtualenv .
bin/pip install -r requirements.txt
2013-10-02 20:59:05 +04:00
bin/python setup.py develop
2013-09-30 14:10:10 +04:00
bin/python selftest.py
2014-06-29 00:22:52 +04:00
bin/nosetests Tests/test_*.py
2014-06-29 16:01:25 +04:00
bin/python setup.py install
bin/python test-installed.py
2013-09-30 14:10:10 +04:00
check-manifest
pyroma .
viewdoc
2014-06-27 23:07:53 +04:00
clean:
python setup.py clean
rm PIL/*.so || true
2014-07-09 21:13:02 +04:00
rm -r build || true
find . -name __pycache__ | xargs rm -r || true
2014-06-27 23:07:53 +04:00
install:
python setup.py install
python selftest.py --installed
test: install
python test-installed.py
inplace: clean
python setup.py build_ext --inplace
coverage:
# requires nose-cov
coverage erase
coverage run --parallel-mode --include=PIL/* selftest.py
nosetests --with-cov --cov='PIL/' --cov-report=html Tests/test_*.py
# doesn't combine properly before report,
# writing report instead of displaying invalid report
rm -r htmlcov || true
coverage combine
coverage report
test-dep:
pip install coveralls nose nose-cov pep8 pyflakes