Skip to content

Commit a879e66

Browse files
authored
chore: remove unnecessary hatch definition for version (#106)
1 parent 18d1825 commit a879e66

File tree

3 files changed

+4
-26
lines changed

3 files changed

+4
-26
lines changed

.hatch_build.py

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [Chore] Remove unnecessary hatch definition for version. (by @mlabeeb03)

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ Issues = "https://github.com/overhangio/tutor-discovery/issues"
4747
Changelog = "https://github.com/overhangio/tutor-discovery/blob/release/CHANGELOG.md"
4848
Community = "https://discuss.openedx.org/tag/tutor"
4949

50-
# hatch-specific configuration
51-
[tool.hatch.metadata.hooks.custom]
52-
path = ".hatch_build.py"
50+
[tool.hatch.version]
51+
path = "tutordiscovery/__about__.py"
5352

5453
[build-system]
5554
requires = ["hatchling"]
@@ -58,7 +57,7 @@ build-backend = "hatchling.build"
5857
[tool.hatch.build.targets.sdist]
5958
# Disable strict naming, otherwise twine is not able to detect name/version
6059
strict-naming = false
61-
include = [ "/tutordiscovery", ".hatch_build.py"]
60+
include = [ "/tutordiscovery"]
6261
exclude = ["tests*"]
6362

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

0 commit comments

Comments
 (0)