From 94a9b2cf9ddd7be181c984793a5404e2b95a779e Mon Sep 17 00:00:00 2001 From: Raphaƫl Barrois Date: Wed, 6 Apr 2016 23:51:41 +0200 Subject: Cleanup manifest. Also, use check_manifest to check for MANIFEST.in / git mismatches. --- MANIFEST.in | 16 ++++++++++------ Makefile | 1 + tox.ini | 4 ++++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 22f4a5c..19b0f8c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,8 +1,12 @@ -include README.rst +include ChangeLog LICENSE README.rst include requirements*.txt -include docs/Makefile -recursive-include docs *.py *.rst -include docs/_static/.keep_dir -prune docs/_build -recursive-include tests *.py *.data +graft factory + +prune docs +prune examples +prune tests + +global-exclude .py[cod] __pycache__ + +exclude Makefile tox.ini .pylintrc diff --git a/Makefile b/Makefile index de0243f..8f48c6b 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ example-test: $(MAKE) -C $(EXAMPLES_DIR) test lint: + check-manifest pylint --rcfile=.pylintrc --report=no $(PACKAGE)/ coverage: diff --git a/tox.ini b/tox.ini index bbcf538..4ccade6 100644 --- a/tox.ini +++ b/tox.ini @@ -31,5 +31,9 @@ whitelist_externals = make commands = make example-test [testenv:lint] +deps = + pylint + check_manifest + whitelist_externals = make commands = make lint -- cgit v1.2.3