-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
106 lines (98 loc) · 3 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[tool.poetry]
name = "yepcord-server"
version = "1.0.0b4"
description = "YEPCord - Free open source selfhostable fully discord-compatible chat"
authors = ["RuslanUC <dev_ruslan_uc@protonmail.com>"]
license = "AGPL-3.0"
readme = "README.md"
packages = [{include = "yepcord"}]
repository = "https://github.com/yepcord/server"
homepage = "https://github.com/yepcord/server"
keywords = ["yepcord", "chat", "discord", "chat-server", "chat-backend", "discord-backend"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Framework :: Flask",
"Framework :: Pydantic",
"Framework :: Pydantic :: 2",
"Framework :: Pytest",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Communications :: Chat",
"Topic :: Internet",
"Typing :: Typed",
]
[tool.poetry.scripts]
yepcord = "yepcord.cli:main"
[tool.poetry.dependencies]
python = "^3.9"
quart = "0.19.6"
aiofiles = "^24.1.0"
websockets = "^13.1"
uvicorn = "^0.32.0"
python-magic = "^0.4.27"
pillow = "^11.0.0"
protobuf = "4.25.3"
python-dateutil = "^2.9.0.post0"
cryptography = "^43.0.3"
emoji = "^2.12.1"
bcrypt = "^4.2.0"
quart-schema = "0.20.0"
pydantic = "^2.8.2"
werkzeug = "3.0.4"
aioftp = { version = "^0.23.1", optional = true }
orjson = "^3.10.9"
mailers = {version = "^3.0.5", extras = ["smtp"]}
redis = "^5.0.8"
click = "^8.1.7"
maxminddb = "^2.6.2"
wget = "3.2"
tortoise-orm = {extras = ["aiosqlite", "asyncmy", "accel"], version = "^0.21.7"}
uvloop = "^0.21.0"
async-timeout = "^4.0.3"
aerich = "^0.7.2"
yc-protobuf3-to-dict = "^0.3.0"
s3lite = { version = "^0.1.8", optional = true }
fast-depends = "^2.4.12"
faststream = {extras = ["kafka", "nats", "rabbit", "redis"], version = "^0.5.28"}
zstandard = "^0.23.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.0"
pytest-cov = "^4.1.0"
pytest-asyncio = "^0.23.6"
pyftpdlib = "1.5.8"
fake-s3 = "1.0.2"
types-protobuf = "^4.24.0.4"
pytest-httpx = "^0.30.0"
poethepoet = "^0.29.0"
[tool.poetry.extras]
s3 = ["s3lite"]
ftp = ["aioftp"]
[tool.poetry.group.profiling.dependencies]
viztracer = "^0.16.3"
pyinstrument = "^5.0.0"
tuna = "^0.5.11"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
omit = ["yepcord/yepcord/proto.py"]
data_file = "coverage.coverage"
[tool.poe.tasks]
migrate = "yepcord.cli migrate"
run = "yepcord.cli:main"
test = "pytest -x --cov-report=xml --cov-append --disable-warnings --cov=yepcord/yepcord"
i = "poetry install"
ie = "poetry install --all-extras"
u = "poetry update"
a = "poetry add"
ad = "poetry add --group dev"