Bugfixes in install command
This commit is contained in:
parent
1a61f2cd7c
commit
b48754e5db
@ -128,7 +128,10 @@ 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:
|
||||||
new_package = name
|
if '==' in package:
|
||||||
|
new_package = package
|
||||||
|
else:
|
||||||
|
new_package = name
|
||||||
|
|
||||||
if '/' in new_package:
|
if '/' in new_package:
|
||||||
new_package = new_package.split('/')[0]
|
new_package = new_package.split('/')[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user