Right now, UpdateRed is doing --force-reinstall --no-cache-dir for every install, mostly so it forces the discord.py dependency link to be used.
It would be nice if we installed without those flags so we only downloaded and upgraded the necessary packages.
I'm thinking using pip download --no-deps to get the source distribution archive, find the discord.py dependency link from dependency_links.txt inside the downloaded archive, install it with pip install -r dependency_links.txt, and from there, just install the rest of the package with pip install Red-DiscordBot.tar.gz. Should be much faster, efficient and less verbose :smiley:
Right now, UpdateRed is doing
--force-reinstall --no-cache-dir
for every install, mostly so it forces the discord.py dependency link to be used.It would be nice if we installed without those flags so we only downloaded and upgraded the necessary packages.
I'm thinking using
pip download --no-deps
to get the source distribution archive, find the discord.py dependency link fromdependency_links.txt
inside the downloaded archive, install it withpip install -r dependency_links.txt
, and from there, just install the rest of the package withpip install Red-DiscordBot.tar.gz
. Should be much faster, efficient and less verbose :smiley: