Bugfixes in install command

This commit is contained in:
Sven Heidemann 2021-03-16 23:01:57 +01:00
parent 1a61f2cd7c
commit b48754e5db

View File

@ -128,6 +128,9 @@ class InstallService(CommandABC):
if not is_already_in_project: if not is_already_in_project:
new_package = Pip.get_package(package) new_package = Pip.get_package(package)
if new_package is not None: if new_package is not None:
if '==' in package:
new_package = package
else:
new_package = name new_package = name
if '/' in new_package: if '/' in new_package: