build: Add hatch_build in sdist to fix installation issues
This commit is contained in:
parent
a5fea82a79
commit
b61834fd22
@ -0,0 +1 @@
|
|||||||
|
- [Improvement] Add hatch_build.py in sdist target to fix the installation issues (by @dawoudsheraz)
|
||||||
@ -64,7 +64,7 @@ build-backend = "hatchling.build"
|
|||||||
[tool.hatch.build.targets.sdist]
|
[tool.hatch.build.targets.sdist]
|
||||||
# Disable strict naming, otherwise twine is not able to detect name/version
|
# Disable strict naming, otherwise twine is not able to detect name/version
|
||||||
strict-naming = false
|
strict-naming = false
|
||||||
include = [ "/tutorcredentials"]
|
include = [ "/tutorcredentials", '.hatch_build.py']
|
||||||
exclude = ["tests*"]
|
exclude = ["tests*"]
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user