add more files to the sdist, plus a check-manifest-based tox test that everything is included
This commit is contained in:
parent
cb14f432e8
commit
de1bc3a936
|
@ -1,2 +1,5 @@
|
|||
recursive-include docs
|
||||
include README.md LICENSE CHANGELOG.md
|
||||
include README.md LICENSE CHANGELOG.md tox.ini requirements-test.txt .coveragerc Makefile pytest.ini .tox-coveragerc
|
||||
exclude TODO.md appveyor.yml
|
||||
|
||||
graft docs
|
||||
prune docs/_build
|
||||
|
|
12
tox.ini
12
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py26,py27,py34,py35,py36,pypy,coverage-report
|
||||
envlist = py26,py27,py34,py35,py36,pypy,coverage-report,packaging
|
||||
|
||||
[testenv]
|
||||
changedir = .tox
|
||||
|
@ -14,3 +14,13 @@ deps = coverage
|
|||
commands = coverage combine --rcfile {toxinidir}/.tox-coveragerc
|
||||
coverage report --rcfile {toxinidir}/.tox-coveragerc
|
||||
coverage html --rcfile {toxinidir}/.tox-coveragerc -d {toxinidir}/htmlcov
|
||||
|
||||
|
||||
[testenv:packaging]
|
||||
changedir = {toxinidir}
|
||||
deps =
|
||||
check-manifest==0.35
|
||||
readme_renderer==17.2
|
||||
commands =
|
||||
check-manifest
|
||||
python setup.py check --metadata --restructuredtext --strict
|
||||
|
|
Loading…
Reference in New Issue