mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
Add bundled install extras. (#4443)
* add an `[all]` extras_requires * can go here * add a [dev] which includes [all] + development extras (style, test, docs) * special case all and dev in update message * Optimize by changing the place of the check for "special" extras Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -119,7 +119,7 @@ def init_events(bot, cli_flags):
|
||||
if expected_version(current_python, py_version_req):
|
||||
installed_extras = []
|
||||
for extra, reqs in red_pkg._dep_map.items():
|
||||
if extra is None:
|
||||
if extra is None or extra in {"dev", "all"}:
|
||||
continue
|
||||
try:
|
||||
pkg_resources.require(req.name for req in reqs)
|
||||
|
||||
Reference in New Issue
Block a user