summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/changelog/2939.bugfix.rst1
-rw-r--r--pyproject.toml2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/changelog/2939.bugfix.rst b/docs/changelog/2939.bugfix.rst
new file mode 100644
index 00000000..9712e7b8
--- /dev/null
+++ b/docs/changelog/2939.bugfix.rst
@@ -0,0 +1 @@
+``tox.ini`` is now included in source distributions in order to make all tests pass.
diff --git a/pyproject.toml b/pyproject.toml
index f6061b2c..98cf4686 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -100,7 +100,7 @@ scripts.tox = "tox.run:run"
[tool.hatch]
build.dev-mode-dirs = ["src"]
build.hooks.vcs.version-file = "src/tox/version.py"
-build.targets.sdist.include = ["/src", "/tests"]
+build.targets.sdist.include = ["/src", "/tests", "/tox.ini"]
version.source = "vcs"
[tool.black]