Skip to content

Commit 7951050

Browse files
committed
Project: Configure Hatch sdist packaging. Remove MANIFEST.in.
1 parent d54f4eb commit 7951050

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

MANIFEST.in

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

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
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+
]
16+
517
[tool.hatch.build.targets.wheel]
618
packages = ["src/crate"]
719

0 commit comments

Comments
 (0)