Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Use 'check-manifest' to avoid broken packages
This patch adds a tox target that runs [check-manifest][] to verify that all files in the repository are either explicitly included or excluded from MANIFEST.in. [check-manifest]: https://pypi.python.org/pypi/check-manifest
- Loading branch information
Andy Freeland
committed
Jul 14, 2015
1 parent
f78b28d
commit a9dcd23
Showing
3 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
language: python | ||
python: | ||
- 2.7 | ||
- 3.4 | ||
- pypy | ||
script: ./run-tests.sh | ||
install: | ||
- pip install tox | ||
script: | ||
- tox | ||
env: | ||
- TOXENV=py27 | ||
- TOXENV=py34 | ||
- TOXENV=pypy | ||
- TOXENV=packaging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
include README.md NOTICE.txt ChangeLog *.sh | ||
include Makefile | ||
include t | ||
include tox.ini | ||
|
||
recursive-include docs *.py | ||
recursive-include docs *.rst | ||
recursive-include docs Makefile | ||
recursive-include tests *.avro | ||
recursive-include tests *.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
[tox] | ||
envlist = py27,py34,pypy | ||
envlist = py27,py34,pypy,packaging | ||
|
||
[testenv] | ||
deps = | ||
nose | ||
deps = | ||
nose | ||
flake8 | ||
commands = ./run-tests.sh | ||
|
||
[testenv:packaging] | ||
skip_install = true | ||
deps = | ||
check-manifest | ||
commands = | ||
check-manifest |