mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
Vendor discord.py (#2387)
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
@@ -115,18 +115,7 @@ def update_red(dev=False, voice=False, mongo=False, docs=False, test=False):
|
||||
package = "Red-DiscordBot"
|
||||
if egg_l:
|
||||
package += "[{}]".format(", ".join(egg_l))
|
||||
arguments = [
|
||||
interpreter,
|
||||
"-m",
|
||||
"pip",
|
||||
"install",
|
||||
"-U",
|
||||
"-I",
|
||||
"--no-cache-dir",
|
||||
"--force-reinstall",
|
||||
"--process-dependency-links",
|
||||
package,
|
||||
]
|
||||
arguments = [interpreter, "-m", "pip", "install", "-U", package]
|
||||
if not is_venv():
|
||||
arguments.append("--user")
|
||||
code = subprocess.call(arguments)
|
||||
|
||||
Reference in New Issue
Block a user