Skip to content

Commit 219828d

Browse files
committed
Replace flit with hatchling to solve import on build issue
1 parent debe81d commit 219828d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
build-backend = "flit_core.buildapi"
3-
requires = ["flit_core >=3.4,<4"]
2+
build-backend = "hatchling.build"
3+
requires = ["hatchling"]
44

55
[dependency-groups]
66
dev = [
@@ -76,6 +76,9 @@ test = [
7676
[tool.docstrfmt]
7777
extend_exclude = ['./docs/examples/']
7878

79+
[tool.hatch.version]
80+
path = "praw/const.py"
81+
7982
[tool.ruff]
8083
include = [
8184
"praw/**.py"

0 commit comments

Comments
 (0)