Skip to content

Commit 64f03ca

Browse files
authored
build: Add hatch_build in sdist to fix installation issues (#25)
1 parent 82b70e0 commit 64f03ca

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [Improvement] Add hatch_build.py in sdist target to fix the installation issues (by @dawoudsheraz)

pyproject.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ dynamic = ["version"]
3535

3636
[project.optional-dependencies]
3737
dev = [
38-
"tutor[dev]>=19.0.0,<20.0.0"
38+
"tutor[dev]>=19.0.0,<20.0.0",
39+
"black",
40+
"pylint"
3941
]
4042

4143
[project.entry-points."tutor.plugin.v1"]
@@ -60,7 +62,7 @@ build-backend = "hatchling.build"
6062
[tool.hatch.build.targets.sdist]
6163
# Disable strict naming, otherwise twine is not able to detect name/version
6264
strict-naming = false
63-
include = ["/tutorwebui"]
65+
include = ["/tutorwebui", ".hatch_build.py"]
6466
exclude = ["tests*"]
6567

6668
[tool.hatch.build.targets.wheel]

0 commit comments

Comments
 (0)