build: Add hatch_build in sdist to fix installation issues
This commit is contained in:
parent
243bbeb79a
commit
f1f4694d90
1
changelog.d/20250312_111539_dawoud.sheraz_release.md
Normal file
1
changelog.d/20250312_111539_dawoud.sheraz_release.md
Normal file
@ -0,0 +1 @@
|
||||
- [Improvement] Add hatch_build.py in sdist target to fix the installation issues (by @dawoudsheraz)
|
||||
@ -61,7 +61,7 @@ build-backend = "hatchling.build"
|
||||
[tool.hatch.build.targets.sdist]
|
||||
# Disable strict naming for twine compatibility
|
||||
strict-naming = false
|
||||
include = [ "/tutorandroid" ]
|
||||
include = [ "/tutorandroid", '.hatch_build.py' ]
|
||||
exclude = [ "tests*" ]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user