Skip to content

Commit ad5261a

Browse files
authored
Merge pull request #1 from DefensiveOrigins/main
ver
2 parents 4439a24 + b3d75f8 commit ad5261a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pyproject.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = [ "hatchling",]
2+
requires = ["hatchling>=1.20"]
33
build-backend = "hatchling.build"
44

55
[project]
@@ -21,3 +21,17 @@ Issues = "https://github.com/DefensiveOrigins/SendGridSend/issues"
2121

2222
[project.scripts]
2323
sendgridsend = "SG:main"
24+
25+
# ---- Hatch build configuration ----
26+
27+
[tool.hatch.build.targets.wheel]
28+
# Explicitly tell Hatch what to ship in the wheel
29+
only-include = ["SG.py"]
30+
31+
[tool.hatch.build.targets.sdist]
32+
# Optional but nice: include main artifacts in the sdist
33+
include = [
34+
"SG.py",
35+
"README.md",
36+
"pyproject.toml",
37+
]

0 commit comments

Comments
 (0)