Compare commits

...

2 Commits

Author SHA1 Message Date
Syed Muhammad Dawoud Sheraz Ali
f718c72326 chore: update field ordering 2025-03-12 11:58:38 +05:00
Syed Muhammad Dawoud Sheraz Ali
ef8cca3d23 build: Add hatch_build in sdist to fix installation issues 2025-03-12 11:50:50 +05:00
2 changed files with 11 additions and 2 deletions

View File

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

View File

@ -29,11 +29,18 @@ classifiers = [
dependencies = [
"tutor>=19.0.0,<20.0.0",
]
optional-dependencies = { dev = ["tutor[dev]>=19.0.0,<20.0.0"] }
# These fields will be set by hatch_build.py
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"tutor[dev]>=19.0.0,<20.0.0",
"black",
"pylint"
]
# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels
[project.urls]
Homepage = "https://docs.tutor.edly.io/"
@ -57,7 +64,8 @@ packages = ["tutornotes"]
[tool.hatch.build.targets.sdist]
# Disable strict naming, otherwise twine is not able to detect name/version
strict-naming = false
include = [ "/tutornotes"]
include = [ "/tutornotes", ".hatch_build.py"]
exclude = ["tests*"]
[project.entry-points."tutor.plugin.v1"]
notes = "tutornotes.plugin"