Fix packaging (#87)
* Ensure that all files are packaged or excluded * Add a test to ensure our packaging stays correct
This commit is contained in:
parent
c95966955b
commit
dcbfcccb7e
@ -30,6 +30,7 @@ matrix:
|
||||
env: TOXENV=pypy CC=clang
|
||||
- python: 2.7
|
||||
env: TOXENV=pep8
|
||||
- env: TOXENV=packaging
|
||||
- python: 3.5
|
||||
env: TOXENV=py3pep8
|
||||
- language: generic
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
include LICENSE README.rst
|
||||
|
||||
include tox.ini .coveragerc
|
||||
include src/build_bcrypt.py
|
||||
|
||||
recursive-include src/_csrc *
|
||||
recursive-include tests *.py
|
||||
|
||||
exclude requirements.txt tasks.py .travis.yml
|
||||
|
||||
prune .travis
|
||||
|
||||
11
tox.ini
11
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py26,py27,pypy,py33,py34,py35,pep8,py3pep8
|
||||
envlist = py26,py27,pypy,py33,py34,py35,pep8,py3pep8,packaging
|
||||
|
||||
[testenv]
|
||||
# If you add a new dep here you probably need to add it in setup.py as well
|
||||
@ -27,6 +27,15 @@ deps =
|
||||
commands =
|
||||
flake8 .
|
||||
|
||||
[testenv:packaging]
|
||||
deps =
|
||||
check-manifest
|
||||
readme_renderer
|
||||
commands =
|
||||
check-manifest
|
||||
python setup.py check --metadata --restructuredtext --strict
|
||||
|
||||
|
||||
[flake8]
|
||||
exclude = .tox,*.egg
|
||||
select = E,W,F,N,I
|
||||
|
||||
Loading…
Reference in New Issue
Block a user