diff --git a/changelog.d/20250312_113751_dawoud.sheraz_fix_hatch_build.md b/changelog.d/20250312_113751_dawoud.sheraz_fix_hatch_build.md new file mode 100644 index 0000000..fb4c929 --- /dev/null +++ b/changelog.d/20250312_113751_dawoud.sheraz_fix_hatch_build.md @@ -0,0 +1 @@ +- [Improvement] Add hatch_build.py in sdist target to fix the installation issues (by @dawoudsheraz) diff --git a/pyproject.toml b/pyproject.toml index afe5770..abcb4ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,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 = [ "/tutordiscovery"] +include = [ "/tutordiscovery", ".hatch_build.py"] exclude = ["tests*"] [tool.hatch.build.targets.wheel]