Red-DiscordBot/setup.cfg
jack1142 7df1570d51
Various improvements in usage of Rich in Red (#4726)
* Use Rich's default console object instead of making one

* Bump Rich to version 9.8.2

* Disable indent guides in tracebacks

* Skip empty lines between stack levels in traceback rendering

* Use full width of the terminal when printing tracebacks

* Disabling syntax highlighting on the log messages

* Make logger name bold

* Make logger level bold

* Make URLs in console bold

* Change `bright_blue` and `blue` colors in syntax theme (NEEDS CHANGING)

* Show only one line per stack level in tracebacks

* Shuffle things in `redbot.logging` a bit

* Change logging handler while redirecting stdout in Dev cog

* Revert last two commits...

This reverts commit cf563bd06a6ae398da12713ceef3db9cc903d902.
This reverts commit 6dddf300726ddf89b8924441eed59b67b58faca0.

* Change Rich console to always print to sys.stdout (therefore ignoring stdout redirects)

* Pass cli_flags to init_logging()

* Add a flag to set the amount of extra lines in rich tracebacks

* First take on the syntax theme colors

* Use the Windows trick

* ARE YOU SERIOUS!?

* Remove dead code

* Use Monokai when Terminal application supports truecolor

* Syntax theme update

* Change logger name color

* This is not needed

* Adjust logging level colors

* Add a flag for showing local variables in Rich tracebacks

* change imports a bit

* Remove usage of blue color fully

* Stop highlighting in Red-DiscordBot splash

* Fix unreadable paths in tracebacks

* Make CRITICAL logging level more readable

* Make time in logs more readable

* Fix the first row being bolded in tables

* Update rich to 9.9.0
2021-02-11 14:20:10 -07:00

146 lines
3.5 KiB
INI

[metadata]
name = Red-DiscordBot
version = attr: redbot.__version__
description = A highly customisable Discord bot
license = GPL-3.0
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8; variant=GFM
author = Cog-Creators
author_email = cogcreators@gmail.com
url = https://github.com/Cog-Creators/Red-DiscordBot
project_urls =
Discord Server = https://discord.gg/red
Documentation = https://docs.discord.red
Donate on Patreon = https://www.patreon.com/Red_Devs
Issue Tracker = https://github.com/Cog-Creators/Red-DiscordBot/issues
Source Code = https://github.com/Cog-Creators/Red-DiscordBot
classifiers =
# List at https://pypi.org/pypi?%3Aaction=list_classifiers
Development Status :: 5 - Production/Stable
Framework :: AsyncIO
Intended Audience :: Developers
Intended Audience :: End Users/Desktop
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Natural Language :: English
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3.8
Topic :: Communications :: Chat
[options]
packages = find_namespace:
python_requires = >=3.8.1,<3.9
install_requires =
aiohttp==3.7.3
aiohttp-json-rpc==0.13.3
aiosqlite==0.16.1
appdirs==1.4.4
apsw-wheels==3.34.1.post1
async-timeout==3.0.1
attrs==20.3.0
Babel==2.9.0
chardet==3.0.4
click==7.1.2
colorama==0.4.4
commonmark==0.9.1
contextlib2==0.6.0.post1
discord.py==1.6.0
distro==1.5.0; sys_platform == "linux"
fuzzywuzzy==0.18.0
idna==2.10
Markdown==3.3.3
multidict==5.1.0
Pygments==2.7.4
python-dateutil==2.8.1
python-Levenshtein-wheels==0.13.2
pytz==2021.1
PyYAML==5.4.1
Red-Lavalink==0.7.2
rich==9.9.0
schema==0.7.4
six==1.15.0
tqdm==4.56.2
typing-extensions==3.7.4.3
uvloop==0.15.0; sys_platform != "win32" and platform_python_implementation == "CPython"
yarl==1.6.3
[options.extras_require]
docs =
alabaster==0.7.12
certifi==2020.12.5
docutils==0.16
imagesize==1.2.0
Jinja2==2.11.3
MarkupSafe==1.1.1
packaging==20.9
pyparsing==2.4.7
requests==2.25.1
snowballstemmer==2.1.0
Sphinx==3.4.3
sphinx-rtd-theme==0.5.1
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
sphinxcontrib-trio==1.1.2
urllib3==1.26.3
postgres =
asyncpg==0.22.0
style =
black==20.8b1
mypy-extensions==0.4.3
pathspec==0.8.1
regex==2020.11.13
toml==0.10.2
typed-ast==1.4.2
test =
astroid==2.4.2
iniconfig==1.1.1
isort==5.7.0
lazy-object-proxy==1.4.3
mccabe==0.6.1
packaging==20.9
pluggy==0.13.1
py==1.10.0
pylint==2.6.0
pyparsing==2.4.7
pytest==6.2.2
pytest-asyncio==0.14.0
pytest-mock==3.5.1
toml==0.10.2
wrapt==1.12.1
all =
%(postgres)s
dev =
%(all)s
%(docs)s
%(style)s
%(test)s
[options.entry_points]
console_scripts =
redbot=redbot.__main__:main
redbot-setup=redbot.setup:run_cli
redbot-launcher=redbot.launcher:main
pytest11 =
red-discordbot=redbot.pytest
[options.packages.find]
include =
redbot
redbot.*
[options.package_data]
* =
locales/*.po
**/locales/*.po
data/*
data/**/*
*.export
py.typed
redbot.core.drivers.postgres =
*.sql