mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-28 01:11:01 +01:00
Fix setup.py
Regarding Optional Dependencies (#3209)
This commit is contained in:
parent
0e044804d2
commit
abfcf72a56
1 changed files with 5 additions and 2 deletions
5
setup.py
5
setup.py
|
@ -48,8 +48,11 @@ def get_optional_requirements(raw=False):
|
|||
dependency = dependency.strip()
|
||||
for name in names.split(","):
|
||||
name = name.strip()
|
||||
if name.endswith("!ext") and raw:
|
||||
if name.endswith("!ext"):
|
||||
if raw:
|
||||
continue
|
||||
else:
|
||||
name = name[:-4]
|
||||
requirements[name].append(dependency)
|
||||
|
||||
return requirements
|
||||
|
|
Loading…
Add table
Reference in a new issue