1
0
Fork 0
mirror of https://github.com/deepfakes/faceswap synced 2025-06-07 10:43:27 -04:00

bugfix: setup.py - Don't delimit package specs

This commit is contained in:
torzdf 2025-02-26 17:55:36 +00:00
parent 41b61f96a4
commit 7d80bdbba3
2 changed files with 1 additions and 3 deletions

View file

@ -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: