2019-11-12 20:01:18 +00:00
|
|
|
# Remember to run `poetry update` after you edit this file!
|
|
|
|
|
2019-11-12 01:11:12 +00:00
|
|
|
[tool.poetry]
|
2019-11-12 15:00:43 +00:00
|
|
|
name = "royalnet"
|
|
|
|
version = "5.1a1"
|
|
|
|
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.7",
|
|
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)"
|
|
|
|
]
|
2019-11-12 01:11:12 +00:00
|
|
|
|
|
|
|
# Library dependencies
|
|
|
|
[tool.poetry.dependencies]
|
2019-11-12 15:00:43 +00:00
|
|
|
python = "^3.8"
|
|
|
|
dateparser = "^0.7.2"
|
2019-11-13 00:33:18 +00:00
|
|
|
keyring = "^19.2.0" # TODO: Maybe remove this when possible?
|
2019-11-12 20:01:18 +00:00
|
|
|
# telegram
|
2019-11-12 15:00:43 +00:00
|
|
|
python_telegram_bot = {version="^12.2.0", optional=true}
|
2019-11-12 20:01:18 +00:00
|
|
|
# discord
|
2019-11-13 00:33:18 +00:00
|
|
|
"discord.py" = {git="https://github.com/Steffo99/discord.py.git", optional=true} # discord.py 1.2.4 is missing Go Live related methods
|
2019-11-12 15:00:43 +00:00
|
|
|
pynacl = {version="^1.3.0", optional=true} # This requires libffi-dev and python3.*-dev to be installed on Linux systems
|
2019-11-12 20:01:18 +00:00
|
|
|
# bard
|
2019-11-12 15:00:43 +00:00
|
|
|
ffmpeg_python = {version="~0.2.0", optional=true}
|
|
|
|
youtube_dl = {version="*", optional=true}
|
2019-11-12 20:01:18 +00:00
|
|
|
# alchemy
|
2019-11-12 15:00:43 +00:00
|
|
|
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
|
2019-11-12 20:01:18 +00:00
|
|
|
# constellation
|
2019-11-12 15:00:43 +00:00
|
|
|
starlette = {version="^0.12.13", optional=true}
|
2019-11-12 20:01:18 +00:00
|
|
|
uvicorn = {version="^0.10.7", optional=true}
|
|
|
|
# sentry
|
2019-11-12 15:00:43 +00:00
|
|
|
sentry_sdk = {version="~0.13.2", optional=true}
|
2019-11-12 20:01:18 +00:00
|
|
|
# herald
|
|
|
|
websockets = {version="^8.1", optional=true}
|
|
|
|
|
|
|
|
# Development dependencies
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
pytest = "^5.2.1"
|
2019-11-12 12:01:47 +00:00
|
|
|
|
2019-11-12 01:11:12 +00:00
|
|
|
# Optional dependencies
|
|
|
|
[tool.poetry.extras]
|
2019-11-12 15:00:43 +00:00
|
|
|
telegram = ["python_telegram_bot"]
|
2019-11-12 20:01:18 +00:00
|
|
|
discord = ["discord.py", "pynacl"]
|
2019-11-12 15:00:43 +00:00
|
|
|
alchemy_easy = ["sqlalchemy", "psycopg2_binary"]
|
|
|
|
alchemy_hard = ["sqlalchemy", "psycopg2"]
|
|
|
|
bard = ["ffmpeg_python", "youtube_dl"]
|
2019-11-12 20:01:18 +00:00
|
|
|
constellation = ["starlette", "uvicorn"]
|
2019-11-12 15:00:43 +00:00
|
|
|
sentry = ["sentry_sdk"]
|
2019-11-12 20:01:18 +00:00
|
|
|
herald = ["websockets"]
|
2019-11-12 01:11:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
[build-system]
|
2019-11-12 15:00:43 +00:00
|
|
|
requires = ["poetry>=0.12"]
|
|
|
|
build-backend = "poetry.masonry.api"
|