mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-24 17:19:40 +00:00
🐛 Use pdm build-system
This commit is contained in:
parent
17610adc1c
commit
4249d34fa3
@ -1,4 +1,4 @@
|
|||||||
[tool.poetry]
|
[project]
|
||||||
name = "PaiGram"
|
name = "PaiGram"
|
||||||
version = "0.4.0"
|
version = "0.4.0"
|
||||||
description = "Telegarm robot, query the official genshin information."
|
description = "Telegarm robot, query the official genshin information."
|
||||||
@ -6,54 +6,53 @@ authors = ["洛水居室", "zhxy-CN", "Chuangbo Li", "kotoriのねこ", "omg-xta
|
|||||||
license = "AGPL-3.0"
|
license = "AGPL-3.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
dependencies = [
|
||||||
python = "^3.8"
|
"python^3.8",
|
||||||
httpx = "^0.24.0"
|
"httpx^0.24.0",
|
||||||
ujson = "^5.8.0"
|
"ujson^5.8.0",
|
||||||
Jinja2 = "^3.1.2"
|
"Jinja2^3.1.2",
|
||||||
python-telegram-bot = { version = "^20.5", extras = ["ext", "rate-limiter"] }
|
"python-telegram-bot{version='^20.5', extras=['ext', 'rate-limiter']}",
|
||||||
sqlmodel = "^0.0.12"
|
"sqlmodel^0.0.12",
|
||||||
colorlog = "^6.7.0"
|
"colorlog^6.7.0",
|
||||||
fakeredis = "^2.19.0"
|
"fakeredis^2.19.0",
|
||||||
redis = "^5.0.1"
|
"redis^5.0.1",
|
||||||
beautifulsoup4 = "^4.12.1"
|
"beautifulsoup4^4.12.1",
|
||||||
asyncmy = "^0.2.7"
|
"asyncmy^0.2.7",
|
||||||
aiofiles = "^23.2.1"
|
"aiofiles^23.2.1",
|
||||||
python-dotenv = "^1.0.0"
|
"python-dotenv^1.0.0",
|
||||||
alembic = "^1.12.0"
|
"alembic^1.12.0",
|
||||||
black = "^23.9.1"
|
"black^23.9.1",
|
||||||
rich = "^13.6.0"
|
"rich^13.6.0",
|
||||||
enkanetwork-py = { git = "https://github.com/mrwan200/EnkaNetwork.py" }
|
"enkanetwork-py{git='https://github.com/mrwan200/EnkaNetwork.py'}",
|
||||||
TgCrypto = { version = "^1.2.5", optional = true }
|
"TgCrypto^1.2.5",
|
||||||
Pyrogram = { version = "^2.0.102", optional = true }
|
"Pyrogram^2.0.102",
|
||||||
pytest = { version = "^7.3.0", optional = true }
|
"lxml^4.9.2",
|
||||||
pytest-asyncio = { version = "^0.21.0", optional = true }
|
"arko-wrapper^0.2.8",
|
||||||
flaky = { version = "^3.7.0", optional = true }
|
"fastapi^0.100.0",
|
||||||
lxml = "^4.9.2"
|
"uvicorn{extras=['standard'], version='^0.24.0'}",
|
||||||
arko-wrapper = "^0.2.8"
|
"sentry-sdk^1.31.0",
|
||||||
fastapi = "<0.100.0"
|
"GitPython^3.1.30",
|
||||||
uvicorn = { extras = ["standard"], version = "^0.24.0" }
|
"openpyxl^3.1.1",
|
||||||
sentry-sdk = "^1.31.0"
|
"async-lru^2.0.4",
|
||||||
GitPython = "^3.1.30"
|
"thefuzz^0.20.0",
|
||||||
openpyxl = "^3.1.1"
|
"qrcode^7.4.2",
|
||||||
async-lru = "^2.0.4"
|
"cryptography^41.0.4",
|
||||||
thefuzz = "^0.20.0"
|
"pillow^10.0.1",
|
||||||
qrcode = "^7.4.2"
|
"playwright^1.28.0",
|
||||||
cryptography = "^41.0.4"
|
"simnet{git='https://github.com/PaiGramTeam/SIMNet'}",
|
||||||
pillow = "^10.0.1"
|
]
|
||||||
playwright = "^1.28.0"
|
|
||||||
aiosqlite = { extras = ["sqlite"], version = "^0.19.0" }
|
|
||||||
simnet = { git = "https://github.com/PaiGramTeam/SIMNet" }
|
|
||||||
|
|
||||||
[tool.poetry.extras]
|
[project.optional-dependencies]
|
||||||
pyro = ["Pyrogram", "TgCrypto"]
|
pyro = ["Pyrogram^2.0.102", "TgCrypto^1.2.5"]
|
||||||
test = ["pytest", "pytest-asyncio", "flaky"]
|
sqlite = ["aiosqlite{extras=['sqlite'], version='^0.19.0'}"]
|
||||||
sqlite = ["aiosqlite"]
|
genshin-artifact = ["python-genshin-artifact>1.0.4"]
|
||||||
all = ["pytest", "pytest-asyncio", "flaky", "Pyrogram", "TgCrypto", "aiosqlite"]
|
|
||||||
|
[project.dev-dependencies]
|
||||||
|
test = ["pytest^7.3.0", "pytest-asyncio^0.21.0", "flaky^3.7.0"]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["pdm-pep517"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "pdm.pep517.api"
|
||||||
|
|
||||||
# pytest配置
|
# pytest配置
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
|
Loading…
Reference in New Issue
Block a user