Skip to content

Commit 465eadd

Browse files
committed
Project: Configure Hatch sdist packaging. Remove MANIFEST.in.
1 parent 8395f88 commit 465eadd

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

MANIFEST.in

Lines changed: 0 additions & 5 deletions
This file was deleted.

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
requires = ["hatchling >= 1.26", "versioningit"]
33
build-backend = "hatchling.build"
44

5+
[tool.hatch.build.targets.sdist]
6+
include = [
7+
"/docs",
8+
"/src/crate/*.py",
9+
"/tests",
10+
"*.rst",
11+
"*.txt",
12+
]
13+
exclude = [
14+
"/docs/.crate-docs",
15+
"pkg/_compat.py",
16+
]
17+
518
[tool.hatch.build.targets.wheel]
619
packages = ["src/crate"]
720

0 commit comments

Comments
 (0)