mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 05:24:20 +00:00
85 lines
2.8 KiB
TOML
85 lines
2.8 KiB
TOML
# Remember to run `poetry update` editing this file!
|
|
|
|
# Install everything with
|
|
# poetry install -E telegram -E discord -E matrix -E alchemy_easy -E alchemy_hard -E bard -E constellation -E sentry -E herald -E coloredlogs
|
|
|
|
[tool.poetry]
|
|
name = "royalnet"
|
|
version = "5.8.2"
|
|
description = "A multipurpose bot and web framework"
|
|
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
|
license = "AGPL-3.0+"
|
|
readme = "README.md"
|
|
homepage = "https://github.com/Steffo99/royalnet"
|
|
documentation = "https://gh.steffo.eu/royalnet/"
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3.8",
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)"
|
|
]
|
|
|
|
# Library dependencies
|
|
[tool.poetry.dependencies]
|
|
python = "^3.8"
|
|
dateparser = "^0.7.2"
|
|
toml = "^0.10.0"
|
|
|
|
# telegram
|
|
python_telegram_bot = {version="^12.2.0", optional=true}
|
|
|
|
# discord
|
|
"discord.py" = {version="^1.3.1", optional=true}
|
|
pynacl = {version="^1.3.0", optional=true} # This requires libffi-dev and python3.*-dev to be installed on Linux systems
|
|
|
|
# matrix
|
|
matrix-nio = {version="^0.6", optional=true}
|
|
|
|
# bard
|
|
ffmpeg_python = {version="~0.2.0", optional=true}
|
|
youtube_dl = {version="*", optional=true}
|
|
eyed3 = {version="^0.9", optional=true}
|
|
|
|
# alchemy
|
|
sqlalchemy = {version="^1.3.10", optional=true}
|
|
psycopg2 = {version="^2.8.4", optional=true} # Requires quite a bit of stuff http://initd.org/psycopg/docs/install.html#install-from-source
|
|
psycopg2_binary = {version="^2.8.4", optional=true} # Prebuilt alternative to psycopg2, not recommended
|
|
bcrypt = {version="^3.1.7", optional=true}
|
|
|
|
# constellation
|
|
starlette = {version="^0.12.13", optional=true}
|
|
uvicorn = {version="^0.10.7", optional=true}
|
|
python-multipart = {version="^0.0.5", optional=true}
|
|
|
|
# sentry
|
|
sentry_sdk = {version="~0.13.2", optional=true}
|
|
|
|
# herald
|
|
websockets = {version="^8.1", optional=true}
|
|
|
|
# logging
|
|
coloredlogs = {version="^10.0", optional=true}
|
|
|
|
# Development dependencies
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = "^5.2.1"
|
|
sphinx = "^2.2.1"
|
|
sphinx_rtd_theme = "^0.4.3"
|
|
|
|
|
|
# Optional dependencies
|
|
[tool.poetry.extras]
|
|
telegram = ["python_telegram_bot"]
|
|
discord = ["discord.py", "pynacl"]
|
|
matrix = ["matrix-nio"]
|
|
alchemy_easy = ["sqlalchemy", "psycopg2_binary", "bcrypt"]
|
|
alchemy_hard = ["sqlalchemy", "psycopg2", "bcrypt"]
|
|
bard = ["ffmpeg_python", "youtube_dl", "eyed3"]
|
|
constellation = ["starlette", "uvicorn", "python-multipart"]
|
|
sentry = ["sentry_sdk"]
|
|
herald = ["websockets"]
|
|
coloredlogs = ["coloredlogs"]
|
|
|
|
[build-system]
|
|
requires = ["poetry>=0.12"]
|
|
build-backend = "poetry.masonry.api"
|