🏗️ Update pyproject.toml and uv.lock for build system and package name adjustments

This commit is contained in:
2025-03-09 11:35:43 +01:00
parent 232d2ca285
commit 7073e2d964
2 changed files with 10 additions and 8 deletions

View File

@@ -1,4 +1,6 @@
packages = ["src/pycord_rest"]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "pycord-reactive-views"
@@ -34,18 +36,18 @@ dev = [
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/pycord_reactve_views/_version.py"
version-file = "src/pycord_reactive_views/_version.py"
[tool.hatch.metadata.hooks.vcs.urls]
Homepage = "https://github.com/Paillat-dev/pycord-reactive-views"
source_archive = "https://github.com/Paillat-dev/pycord-reactive-views/archive/{commit_hash}.zip"
[tool.hatchling]
name = "pycord-rest-bot"
name = "pycord-reactive-views"
[tool.hatch.build]
include = [
"src/pycord_reactve_views/",
"src/pycord_reactive_views/",
]
exclude = [
".copywrite.hcl",
@@ -55,7 +57,7 @@ exclude = [
]
[tool.hatch.build.targets.wheel]
packages = ["src/pycord_reactve_views"]
packages = ["src/pycord_reactive_views"]
[tool.pyright]
pythonVersion = "3.11"
@@ -63,7 +65,7 @@ typeCheckingMode = "all"
reportUnusedCallResult = false
reportAny = false
executionEnvironments = [
{ root = "src/pycord_reactve_views/_version.py", reportDeprecated = false },
{ root = "src/pycord_reactive_views/_version.py", reportDeprecated = false },
{ root = "examples", reportExplicitAny = false, reportUnknownMemberType = false, reportUnusedParameter = false, reportImplicitOverride = false, reportArgumentType = false }
]
@@ -80,7 +82,7 @@ line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
exclude = [
"src/pycord_reactve_views/_version.py"
"src/pycord_reactive_views/_version.py"
]
[tool.ruff.lint]

2
uv.lock generated
View File

@@ -329,7 +329,7 @@ wheels = [
[[package]]
name = "pycord-reactive-views"
source = { virtual = "." }
source = { editable = "." }
dependencies = [
{ name = "py-cord" },
{ name = "typing-extensions" },