Skip to content

Commit

Permalink
Merge pull request #196 from pypa/sdist-includes
Browse files Browse the repository at this point in the history
Ensure tests, docs, license etc. are included in sdist
  • Loading branch information
jaraco authored Jul 2, 2024
2 parents 261e4d8 + dfb1335 commit 9988edd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ authors = [
{name = "Thomas Kluyver", email = "[email protected]"},
]
readme = "README.rst"
license = {file = "LICENSE"}
requires-python = ">=3.7"
dependencies = []
classifiers = [
Expand All @@ -22,6 +23,18 @@ Source = "https://github.com/pypa/pyproject-hooks"
Documentation = "https://pyproject-hooks.readthedocs.io/"
Changelog = "https://pyproject-hooks.readthedocs.io/en/latest/changelog.html"

[tool.flit.sdist]
include = [
"tests/",
"docs/",
"dev-requirements.txt",
"noxfile.py",
"pytest.ini",
]
exclude = [
"docs/_build"
]

[tool.ruff]
src = ["src", "tests"]

Expand Down

0 comments on commit 9988edd

Please sign in to comment.