summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Howitz <mh@gocept.com>2021-02-09 13:28:38 +0100
committerGitHub <noreply@github.com>2021-02-09 13:28:38 +0100
commite7482c4fc713dd3ec20e033c200597d66c7c94e8 (patch)
tree6923cac32e71fb6d00a3a2720837ff26a79d2433
parentfa1eb0cb41d607e50d0b3b13230aa156bda1030e (diff)
downloadzope-schema-e7482c4fc713dd3ec20e033c200597d66c7c94e8.tar.gz
Add needed check-manifest ignore (#106)
Without the additional ignore check-manifest fails when running zest.releasers's fullrelease script: missing from sdist: docs/_static
-rw-r--r--.gitignore5
-rw-r--r--.meta.toml7
-rw-r--r--setup.cfg1
-rw-r--r--tox.ini9
4 files changed, 19 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 0aadbae..c7e73d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,11 +15,14 @@ bin/
build/
coverage.xml
develop-eggs/
+develop/
dist/
docs/_build
eggs/
-htmlcov/
+etc/
lib/
lib64
+log/
parts/
pyvenv.cfg
+var/
diff --git a/.meta.toml b/.meta.toml
index 7705105..a167711 100644
--- a/.meta.toml
+++ b/.meta.toml
@@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = "pure-python"
-commit-id = "5b7a5e11f3a182cb3704ef1e071f9d592a741787"
+commit-id = "20e717f131ccaa1bc2dd878ba90c4be22d4c7488"
[python]
with-appveyor = false
@@ -18,3 +18,8 @@ fail-under = 100
additional-config = [
"omit = src/zope/__init__.py",
]
+
+[check-manifest]
+additional-ignores = [
+ "docs/_static",
+ ]
diff --git a/setup.cfg b/setup.cfg
index 8b04203..28dd07c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -12,3 +12,4 @@ ignore =
.meta.toml
docs/_build/html/_sources/*
docs/_build/doctest/*
+ docs/_static
diff --git a/tox.ini b/tox.ini
index 327b005..aea433f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,7 @@
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[tox]
+minversion = 3.18
envlist =
lint
py27
@@ -39,17 +40,23 @@ commands =
[testenv:docs]
basepython = python3
+skip_install = false
+deps =
+commands_pre =
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
[testenv:coverage]
basepython = python3
+allowlist_externals =
+ mkdir
deps =
coverage
coverage-python-version
zope.testrunner
commands =
+ mkdir -p {toxinidir}/parts/htmlcov
coverage run -m zope.testrunner --test-path=src []
coverage run -a -m sphinx -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest
coverage html
@@ -73,4 +80,4 @@ exclude_lines =
raise AssertionError
[coverage:html]
-directory = htmlcov
+directory = parts/htmlcov