🏗️ 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] [project]
name = "pycord-reactive-views" name = "pycord-reactive-views"
@@ -34,18 +36,18 @@ dev = [
source = "vcs" source = "vcs"
[tool.hatch.build.hooks.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] [tool.hatch.metadata.hooks.vcs.urls]
Homepage = "https://github.com/Paillat-dev/pycord-reactive-views" Homepage = "https://github.com/Paillat-dev/pycord-reactive-views"
source_archive = "https://github.com/Paillat-dev/pycord-reactive-views/archive/{commit_hash}.zip" source_archive = "https://github.com/Paillat-dev/pycord-reactive-views/archive/{commit_hash}.zip"
[tool.hatchling] [tool.hatchling]
name = "pycord-rest-bot" name = "pycord-reactive-views"
[tool.hatch.build] [tool.hatch.build]
include = [ include = [
"src/pycord_reactve_views/", "src/pycord_reactive_views/",
] ]
exclude = [ exclude = [
".copywrite.hcl", ".copywrite.hcl",
@@ -55,7 +57,7 @@ exclude = [
] ]
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["src/pycord_reactve_views"] packages = ["src/pycord_reactive_views"]
[tool.pyright] [tool.pyright]
pythonVersion = "3.11" pythonVersion = "3.11"
@@ -63,7 +65,7 @@ typeCheckingMode = "all"
reportUnusedCallResult = false reportUnusedCallResult = false
reportAny = false reportAny = false
executionEnvironments = [ 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 } { 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-format = false
docstring-code-line-length = "dynamic" docstring-code-line-length = "dynamic"
exclude = [ exclude = [
"src/pycord_reactve_views/_version.py" "src/pycord_reactive_views/_version.py"
] ]
[tool.ruff.lint] [tool.ruff.lint]

2
uv.lock generated
View File

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