From 543d1fcb495e9766592b8c4f3bc4e58ab3965a56 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Thu, 23 Mar 2017 11:39:20 +0000 Subject: [PATCH 1/2] Expand MANIFEST.in to include basically everything --- MANIFEST.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 2f464676c..3c8b98853 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,7 @@ -include README.rst LICENSE CONTRIBUTORS.rst HISTORY.rst - +include README.rst LICENSE CONTRIBUTORS.rst HISTORY.rst tox.ini test_requirements.txt .coveragerc Makefile +recursive-include test *.py +graft docs +prune docs/build +graft visualizer +recursive-include examples *.py *.crt *.key *.pem *.csr +recursive-include utils *.sh From ab191e558c0a0f1550511566c288074bde9a58b2 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Thu, 23 Mar 2017 13:37:26 +0000 Subject: [PATCH 2/2] Test our packaging is good --- .travis.yml | 2 ++ tox.ini | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f53f713fc..7b5a4686c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,8 @@ matrix: env: TOXENV=lint - python: "3.5" env: TOXENV=docs + - python: "2.7" + env: TOXENV=packaging # Test we haven't broken our major dependencies. - python: "2.7" diff --git a/tox.ini b/tox.ini index b3a01a78a..a3d6c4a78 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py33, py34, py35, py36, pypy, lint, docs +envlist = py27, py33, py34, py35, py36, pypy, lint, packaging, docs [testenv] deps= -r{toxinidir}/test_requirements.txt @@ -43,3 +43,12 @@ basepython=python2.7 deps = graphviz==0.6 commands = python visualizer/visualize.py -i docs/source/_static + +[testenv:packaging] +basepython=python2.7 +deps = + check-manifest==0.35 + readme_renderer==17.2 +commands = + check-manifest + python setup.py check --metadata --restructuredtext --strict