mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Pip install to library dir (#1432)
This commit is contained in:
parent
c49cb4a213
commit
25a5c3dec9
@ -192,7 +192,7 @@ class Downloader:
|
|||||||
Installs a group of dependencies using pip.
|
Installs a group of dependencies using pip.
|
||||||
"""
|
"""
|
||||||
repo = Repo("", "", "", Path.cwd(), loop=ctx.bot.loop)
|
repo = Repo("", "", "", Path.cwd(), loop=ctx.bot.loop)
|
||||||
success = await repo.install_raw_requirements(deps, self.SHAREDLIB_PATH)
|
success = await repo.install_raw_requirements(deps, self.LIB_PATH)
|
||||||
|
|
||||||
if success:
|
if success:
|
||||||
await ctx.send(_("Libraries installed."))
|
await ctx.send(_("Libraries installed."))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user