Compare commits

...

1 Commits

Author SHA1 Message Date
Syed Muhammad Dawoud Sheraz Ali
8b797b6f3f build: Add hatch_build in sdist to fix installation issues 2025-03-12 11:35:40 +05:00
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
- [Improvement] Add hatch_build.py in sdist target to fix the installation issues (by @dawoudsheraz)

View File

@ -60,7 +60,7 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
# Disable strict naming, otherwise twine is not able to detect name/version
strict-naming = false
include = [ "/tutorcairn"]
include = [ "/tutorcairn", '.hatch_build.py']
exclude = ["tests*"]
[tool.hatch.build.targets.wheel]