Vendor discord.py (#2387)

Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
Toby Harradine
2019-01-28 14:14:36 +11:00
committed by GitHub
parent 348277bcbd
commit 05bef917ae
62 changed files with 21516 additions and 59 deletions

View File

@@ -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)