Merge pull request #1776 from python-pillow/aclark-build-cleanup

Clean up reqs
This commit is contained in:
Alex Clark 2016-04-01 08:01:29 -04:00
commit de7481d5b7
4 changed files with 40 additions and 13 deletions

View File

@ -20,8 +20,12 @@ graft docs
prune docs/_static prune docs/_static
# build/src control detritus # build/src control detritus
exclude .coveragerc
exclude .editorconfig
exclude .landscape.yaml
exclude appveyor.yml
exclude build_children.sh exclude build_children.sh
exclude tox.ini
global-exclude .git* global-exclude .git*
global-exclude *.pyc global-exclude *.pyc
global-exclude *.so global-exclude *.so

View File

@ -8,6 +8,12 @@ clean:
rm -r build || true rm -r build || true
find . -name __pycache__ | xargs rm -r || true find . -name __pycache__ | xargs rm -r || true
BRANCHES=`git branch -a | grep -v HEAD | grep -v master | grep remote`
co:
-for i in $(BRANCHES) ; do \
git checkout -t $$i ; \
done
coverage: coverage:
coverage erase coverage erase
coverage run --parallel-mode --include=PIL/* selftest.py coverage run --parallel-mode --include=PIL/* selftest.py
@ -33,6 +39,7 @@ help:
@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-req install documentation and test dependencies"
@echo " install-venv install in virtualenv"
@echo " release-test run code and package tests before release" @echo " release-test run code and package tests before release"
@echo " test run tests on installed pillow" @echo " test run tests on installed pillow"
@echo " upload build and upload sdists to PyPI" @echo " upload build and upload sdists to PyPI"
@ -48,6 +55,10 @@ install:
install-req: install-req:
pip install -r requirements.txt pip install -r requirements.txt
install-venv:
virtualenv .
bin/pip install -r requirements.txt
release-test: release-test:
$(MAKE) install-req $(MAKE) install-req
python setup.py develop python setup.py develop

View File

@ -1,2 +0,0 @@
Sphinx
sphinx-rtd-theme

View File

@ -1,11 +1,25 @@
# Testing and documentation requirements # Development, documentation & testing requirements.
-e . -e .
-r docs/requirements.txt Babel==2.2.0
coveralls Jinja2==2.8
nose MarkupSafe==0.23
nose-cov Pygments==2.1.3
pep8 Sphinx==1.3.6
pyflakes alabaster==0.7.7
check-manifest check-manifest==0.31
pyroma cov-core==1.15.0
jarn.viewdoc coverage==4.0.3
coveralls==1.1
docopt==0.6.2
docutils==0.12
jarn.viewdoc==1.7
nose-cov==1.6
nose==1.3.7
pep8==1.7.0
pyflakes==1.1.0
pyroma==2.0.2
pytz==2016.2
requests==2.9.1
six==1.10.0
snowballstemmer==1.2.1
sphinx-rtd-theme==0.1.9