mirror of
https://github.com/zebrajr/faceswap.git
synced 2025-12-06 00:20:09 +01:00
bugfix: setup.py - Don't delimit package specs
This commit is contained in:
parent
41b61f96a4
commit
7d80bdbba3
2
setup.py
2
setup.py
|
|
@ -1088,8 +1088,6 @@ class Install(): # pylint:disable=too-few-public-methods
|
|||
pkg_str = self._format_package(*pkg)
|
||||
if self._env.is_conda:
|
||||
cmd = ["conda", "install", "-y"]
|
||||
if any(char in pkg_str for char in (" ", "<", ">", "*", "|")):
|
||||
pkg_str = f"\"{pkg_str}\""
|
||||
else:
|
||||
cmd = [sys.executable, "-m", "pip", "install", "--no-cache-dir"]
|
||||
if self._env.is_admin:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user