Skip to content

Commit

Permalink
Merge pull request #1776 from python-pillow/aclark-build-cleanup
Browse files Browse the repository at this point in the history
Clean up reqs
  • Loading branch information
aclark4life committed Apr 1, 2016
2 parents 43ddf83 + 86561f6 commit de7481d
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 13 deletions.
6 changes: 5 additions & 1 deletion MANIFEST.in
Expand Up @@ -20,8 +20,12 @@ graft docs
prune docs/_static

# build/src control detritus
exclude .coveragerc
exclude .editorconfig
exclude .landscape.yaml
exclude appveyor.yml
exclude build_children.sh
exclude tox.ini
global-exclude .git*
global-exclude *.pyc
global-exclude *.so

11 changes: 11 additions & 0 deletions Makefile
Expand Up @@ -8,6 +8,12 @@ clean:
rm -r build || 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 erase
coverage run --parallel-mode --include=PIL/* selftest.py
Expand All @@ -33,6 +39,7 @@ help:
@echo " inplace make inplace extension"
@echo " install make and install"
@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 " test run tests on installed pillow"
@echo " upload build and upload sdists to PyPI"
Expand All @@ -48,6 +55,10 @@ install:
install-req:
pip install -r requirements.txt

install-venv:
virtualenv .
bin/pip install -r requirements.txt

release-test:
$(MAKE) install-req
python setup.py develop
Expand Down
2 changes: 0 additions & 2 deletions docs/requirements.txt

This file was deleted.

34 changes: 24 additions & 10 deletions requirements.txt
@@ -1,11 +1,25 @@
# Testing and documentation requirements
# Development, documentation & testing requirements.
-e .
-r docs/requirements.txt
coveralls
nose
nose-cov
pep8
pyflakes
check-manifest
pyroma
jarn.viewdoc
Babel==2.2.0
Jinja2==2.8
MarkupSafe==0.23
Pygments==2.1.3
Sphinx==1.3.6
alabaster==0.7.7
check-manifest==0.31
cov-core==1.15.0
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

0 comments on commit de7481d

Please sign in to comment.