Skip to content

Commit c0763f7

Browse files
committed
Switch build system to Hatchling which has much better Language Server support
stack-info: PR: #55, branch: drisspg/stack/4
1 parent 57c35e3 commit c0763f7

File tree

2 files changed

+18
-25
lines changed

2 files changed

+18
-25
lines changed

pyproject.toml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools >= 77.0.3"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "helion"
@@ -72,5 +72,20 @@ required-imports = ["from __future__ import annotations"]
7272
force-single-line = true # better merge conflicts
7373
force-sort-within-sections = true
7474

75-
[tool.setuptools]
75+
[tool.hatch.build.targets.wheel]
76+
packages = ["helion"]
77+
78+
[tool.hatch.build]
79+
include = [
80+
"helion/**/*.py",
81+
"helion/**/*.pyi",
82+
"LICENSE",
83+
]
84+
exclude = [
85+
"test/**/*",
86+
]
87+
88+
[tool.hatch.metadata]
89+
allow-direct-references = true
7690
license-files = ["LICENSE"]
91+

setup.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)