We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4439a24 + b3d75f8 commit ad5261aCopy full SHA for ad5261a
pyproject.toml
@@ -1,5 +1,5 @@
1
[build-system]
2
-requires = [ "hatchling",]
+requires = ["hatchling>=1.20"]
3
build-backend = "hatchling.build"
4
5
[project]
@@ -21,3 +21,17 @@ Issues = "https://github.com/DefensiveOrigins/SendGridSend/issues"
21
22
[project.scripts]
23
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