(repo): switch to uv

Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
This commit is contained in:
Seaswimmer 2024-10-10 16:01:54 -04:00
parent 8c323e36a9
commit 8b6d269e1a
Signed by: CoastalCommitsManagement
GPG key ID: 7E73189F651A553F

View file

@ -1,45 +1,46 @@
[tool.poetry] [project]
name = "seacogs" name = "seacogs"
version = "0.1.0" version = "0.1.0"
description = "My assorted cogs for Red-DiscordBot." description = "My assorted cogs for Red-DiscordBot."
authors = ["cswimr"]
license = "MPL 2" license = "MPL 2"
readme = "README.md" readme = "README.md"
package-mode = false requires-python = ">=3.11"
authors = [
{ name = "cswimr", email = "seaswimmerthefsh@gmail.com" },
]
dependencies = [
"aiosqlite>=0.20.0",
"beautifulsoup4>=4.12.3",
"colorthief>=0.2.1",
"markdownify>=0.13.1",
"numpy>=2.1.2",
"phx-class-registry>=5.0.0",
"pillow>=10.4.0",
"py-dactyl",
"pydantic>=2.9.2",
"red-discordbot>=3.5.13",
"websockets>=13.1",
]
[tool.poetry.dependencies] [project.optional-dependencies]
python = ">=3.11,<3.12" documentation = [
Red-DiscordBot = "^3.5.5" "mkdocs>=1.6.1",
py-dactyl = "^2.0.4" "mkdocs-git-authors-plugin>=0.9.0",
websockets = "^12.0" "mkdocs-git-revision-date-localized-plugin>=1.2.9",
pillow = "^10.3.0" "mkdocs-material[imaging]>=9.5.40",
numpy = "^1.26.4" "mkdocstrings[python]>=0.26.1",
colorthief = "^0.2.1" "mkdocs-redirects>=1.2.1",
beautifulsoup4 = "^4.12.3" ]
markdownify = "^0.12.1"
[tool.poetry.group.dev] [tool.uv]
optional = true dev-dependencies = [
"pylint>=3.3.1",
"ruff>=0.6.9",
"sqlite-web>=0.6.4",
]
[tool.poetry.group.dev.dependencies] [tool.uv.sources]
ruff = "^0.3.1" py-dactyl = { git = "https://github.com/cswimr/pydactyl" }
pylint = "^3.1.0"
sqlite-web = "^0.6.4"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "1.5.3"
mkdocstrings = {extras = ["python"], version = "0.24.0"}
mkdocs-git-authors-plugin = "0.7.2"
mkdocs-git-revision-date-localized-plugin = "1.2.2"
mkdocs-material = {extras = ["imaging"], version = "^9.5.2"}
mkdocs-redirects = "^1.2.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff] [tool.ruff]
# Exclude a variety of commonly ignored directories. # Exclude a variety of commonly ignored directories.