1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00
royalnet/pyproject.toml

84 lines
2.5 KiB
TOML
Raw Permalink Normal View History

2019-12-22 18:25:28 +00:00
# Remember to run `poetry update` editing this file!
# Install everything with
# poetry install -E telegram -E discord -E alchemy_easy -E constellation -E sentry -E herald -E coloredlogs
2019-11-12 20:01:18 +00:00
2019-11-12 01:11:12 +00:00
[tool.poetry]
name = "royalnet"
2020-10-01 16:44:23 +00:00
version = "6.0.0a1"
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+)"
]
2019-11-12 01:11:12 +00:00
# Library dependencies
[tool.poetry.dependencies]
python = "^3.8"
dateparser = "^0.7.2"
toml = "^0.10.0"
2020-09-16 00:13:30 +00:00
click = "^7.1.2"
2019-11-24 02:23:59 +00:00
# telegram
python_telegram_bot = { version = "^12.2.0", optional = true }
2020-09-16 00:40:03 +00:00
urllib3 = { version = "^1.25.10", optional = true }
2019-11-24 02:23:59 +00:00
# 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
2019-11-24 02:23:59 +00:00
# alchemy
2020-09-15 23:13:45 +00:00
sqlalchemy = { version = "^1.3.19", optional = true }
psycopg2 = { version = "^2.8.6", optional = true } # Requires quite a bit of stuff http://initd.org/psycopg/docs/install.html#install-from-source
psycopg2_binary = { version = "^2.8.6", optional = true } # Prebuilt alternative to psycopg2, not recommended
bcrypt = { version = "^3.2.0", optional = true }
2019-11-24 02:23:59 +00:00
# constellation
starlette = { version = "^0.12.13", optional = true }
uvicorn = { version = "^0.10.7", optional = true }
python-multipart = { version = "^0.0.5", optional = true }
2019-11-24 02:23:59 +00:00
# sentry
sentry_sdk = { version = "~0.13.2", optional = true }
2019-11-24 02:23:59 +00:00
# logging
coloredlogs = { version = "^10.0", optional = true }
2019-11-24 02:23:59 +00:00
2020-10-01 16:44:23 +00:00
# baron
redis = { version = "^3.5.3", optional = true }
2019-11-12 20:01:18 +00:00
# Development dependencies
[tool.poetry.dev-dependencies]
pytest = "^5.2.1"
sphinx = "^2.2.1"
sphinx_rtd_theme = "^0.4.3"
2019-11-17 19:24:57 +00:00
2019-11-12 12:01:47 +00:00
2019-11-12 01:11:12 +00:00
# Optional dependencies
[tool.poetry.extras]
2020-09-16 00:40:03 +00:00
telegram = ["python_telegram_bot", "urllib3"]
discord = ["discord.py", "pynacl", "lavalink", "aiohttp", "cchardet"]
alchemy_easy = ["sqlalchemy", "psycopg2_binary", "bcrypt"]
alchemy_hard = ["sqlalchemy", "psycopg2", "bcrypt"]
constellation = ["starlette", "uvicorn", "python-multipart"]
sentry = ["sentry_sdk"]
coloredlogs = ["coloredlogs"]
2020-10-01 16:44:23 +00:00
baron = ["redis"]
2019-11-12 01:11:12 +00:00
2020-06-15 19:29:59 +00:00
# Executable aliases
[tool.poetry.scripts]
royalnet = 'royalnet.__main__:run'
2019-11-12 01:11:12 +00:00
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"