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:
parent
41b61f96a4
commit
7d80bdbba3
2 changed files with 1 additions and 3 deletions
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:
|
||||
|
|
|
@ -327,7 +327,7 @@ class Check:
|
|||
"""
|
||||
now = datetime.now().strftime("%Y%m%d_%H%M%S")
|
||||
folder_name = (f"{self._get_filename_prefix()}"
|
||||
f"{self.output_message.replace(' ','_').lower()}_{now}")
|
||||
f"{self.output_message.replace(' ', '_').lower()}_{now}")
|
||||
dst_dir = self._get_output_folder()
|
||||
output_folder = os.path.join(dst_dir, folder_name)
|
||||
logger.debug("Creating folder: '%s'", output_folder)
|
||||
|
|
Loading…
Add table
Reference in a new issue