EQUENOS / dislash.py

A Python wrapper for discord slash-commands and buttons, designed to extend discord.py.

Home Page:https://dislashpy.readthedocs.io/en/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use versions for pip packages

f11y11 opened this issue · comments

commented

As long as you use "latest" without a version, we need to uninstall and reinstall the dislash.py entirely to get the latest features, such as ContextMenus.

commented

I'm not really sure if it does, pip says it is 1.4.6 but I had to uninstall and reinstall fresh to have the latest features

pip install dislash.py --upgrade works fine, you don't have to reinstall the library

commented

what about using pip install -r requirements.txt? As far as I see it does not upgrade each time it installs and I have to uninstall dislash.py to get the actual latest

commented

Add -U flag. If you run pip install -r requirements.txt, it will install modules it doesn't find. By adding a -U flag, it updates all modules from the file. So, it should look something like this: pip install -U -r requirements.txt
(P.S.: -U is equivalent of --upgrade)