mirror of
https://github.com/Paillat-dev/pycord-rest.git
synced 2026-01-02 09:06:20 +00:00
🏷️ Update .gitignore and enhance pyproject.toml with metadata and dependencies
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -172,3 +172,4 @@ cython_debug/
|
|||||||
|
|
||||||
.python-version
|
.python-version
|
||||||
.idea
|
.idea
|
||||||
|
_version.py
|
||||||
@@ -1,12 +1,22 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "pycord-rest-bot"
|
name = "pycord-rest-bot"
|
||||||
version = "0.1.0"
|
dynamic = ["version", "urls"]
|
||||||
description = "A discord rest-bot wrapper for pycord"
|
description = "A discord rest-bot wrapper for pycord"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Paillat-dev", email = "me@paillat.dev" }
|
{ name = "Paillat-dev", email = "me@paillat.dev" }
|
||||||
]
|
]
|
||||||
|
license = "MIT"
|
||||||
requires-python = "==3.12.*"
|
requires-python = "==3.12.*"
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12"
|
||||||
|
]
|
||||||
|
keywords = ["discord", "bot", "rest", "pycord"]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fastapi>=0.115.11",
|
"fastapi>=0.115.11",
|
||||||
"orjson>=3.10.15",
|
"orjson>=3.10.15",
|
||||||
@@ -15,7 +25,6 @@ dependencies = [
|
|||||||
"uvicorn>=0.34.0",
|
"uvicorn>=0.34.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
"basedpyright>=1.28.1",
|
"basedpyright>=1.28.1",
|
||||||
@@ -24,14 +33,29 @@ dev = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling"]
|
requires = ["hatchling", "hatch-vcs"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
source = "vcs"
|
||||||
|
|
||||||
|
[tool.hatch.build.hooks.vcs]
|
||||||
|
version-file = "src/pycord_rest/_version.py"
|
||||||
|
|
||||||
|
[tool.hatch.metadata.hooks.vcs.urls]
|
||||||
|
Homepage = "https://github.com/Paillat-dev/pycord-rest"
|
||||||
|
source_archive = "https://github.com/Paillat-dev/pycord-rest/archive/{commit_hash}.zip"
|
||||||
|
|
||||||
[tool.hatchling]
|
[tool.hatchling]
|
||||||
name = "pycord-rest-bot"
|
name = "pycord-rest-bot"
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build]
|
||||||
packages = ["src/pycord_rest"]
|
exclude = [
|
||||||
|
".copywrite.hcl",
|
||||||
|
".github",
|
||||||
|
".python-version",
|
||||||
|
"uv.lock",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
pythonVersion = "3.12"
|
pythonVersion = "3.12"
|
||||||
@@ -85,6 +109,3 @@ extend-ignore = [
|
|||||||
"PLR0913",
|
"PLR0913",
|
||||||
"C901"
|
"C901"
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.uv.workspace]
|
|
||||||
members = ["test"]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user