Add check-manifest

authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
changeset80f190c2b212
branchdefault
phasepublic
hiddenno
parent revision#3bdc6f1a60df [es7] Remove standard filter
child revision#96edb71abba9 Add Breaks/Replaces against cubicweb-elasticsearch
files modified by this revision
MANIFEST.in
tox.ini
# HG changeset patch
# User Philippe Pepiot <philippe.pepiot@logilab.fr>
# Date 1574784511 -3600
# Tue Nov 26 17:08:31 2019 +0100
# Node ID 80f190c2b2124101dada7a57209b3cb4904f2c37
# Parent 3bdc6f1a60df13548613ba51eaef651ff2e66281
Add check-manifest

diff --git a/MANIFEST.in b/MANIFEST.in
@@ -4,6 +4,10 @@
1  recursive-include cubicweb_elasticsearch/data *.gif *.png *.ico *.css *.js
2  recursive-include cubicweb_elasticsearch/i18n *.po
3  recursive-include cubicweb_elasticsearch/pviews/templates *.jinja2
4 
5  include test/data/bootstrap_cubes
6 +recursive-include test *.py
7  include tox.ini
8 +include .gitlab-ci.yml
9 +prune debian
10 +prune cubicweb-elasticsearch.spec
diff --git a/tox.ini b/tox.ini
@@ -1,7 +1,7 @@
11  [tox]
12 -envlist = py27,flake8
13 +envlist = py27,flake8,check-manifest
14 
15  [tox:jenkins]
16  envlist = py27,flake8-jenkins
17 
18  [testenv]
@@ -31,5 +31,13 @@
19  [flake8]
20  format = pylint
21  max-line-length = 100
22  ignore = E731,W503
23  exclude = cubicweb_elasticsearch/__pkginfo__.py,cubicweb_elasticsearch/migration/*,test/data/*,setup.py,.tox/*
24 +
25 +[testenv:check-manifest]
26 +skip_install = true
27 +skipsdist = true
28 +deps =
29 +  check-manifest
30 +commands =
31 +  {envpython} -m check_manifest