Skip to content

Commit aedea31

Browse files
authored
Ensure tests are available in sdist (#14746)
This restores the `tests` folder for the built `sdist` tarball.
2 parents c27e3d3 + 974eb53 commit aedea31

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

MANIFEST.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ include .flake8
99
include .pre-commit-config.yaml
1010
include long_description.rst
1111

12+
recursive-include tests *
13+
1214
recursive-exclude tools *
13-
recursive-exclude tests *
15+
1416
exclude tools
1517
exclude CONTRIBUTING.md
1618
exclude .editorconfig

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,8 @@ license-files = ["LICENSE"]
371371
include-package-data = false
372372

373373
[tool.setuptools.packages.find]
374-
exclude = ["setupext"]
374+
include = ["IPython*"]
375+
exclude = ["setupext", "tests*"]
375376
namespaces = false
376377

377378
[tool.setuptools.package-data]

0 commit comments

Comments
 (0)