Skip to content

Commit 1f31141

Browse files
feat: migrate build backend to hatchling
1 parent a6d2255 commit 1f31141

File tree

3 files changed

+11
-61
lines changed

3 files changed

+11
-61
lines changed

MANIFEST.in

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

pyproject.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: MIT
22

33
[build-system]
4-
requires = ["setuptools>=61"]
5-
build-backend = "setuptools.build_meta"
4+
requires = ["hatchling", "hatch-vcs"]
5+
build-backend = "hatchling.build"
66

77
[project]
88
name = "disnake"
@@ -121,6 +121,15 @@ setup_env = { cmd = "{pdm} install -G:all", help = "Set up the local environment
121121
post_setup_env = { composite = ["python -m ensurepip --default-pip", "pre-commit install --install-hooks"] }
122122
test = { cmd = "nox -Rs test --", help = "Run pytest" }
123123

124+
[tool.hatch.build]
125+
include = [
126+
"disnake/",
127+
]
128+
129+
[tool.hatch.version]
130+
source = "vcs"
131+
fallback-version = "0.0.0"
132+
124133
[tool.ruff]
125134
line-length = 100
126135
target-version = "py38"

setup.py

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

0 commit comments

Comments
 (0)