Installer
- class setup.Installer(environment: Environment, packages: list[str], command: list[str], is_conda: bool, is_gui: bool)
Bases:
objectUses the python Subprocess module to install packages.
- Parameters:
environment (Environment) – Environment class holding information about the running system
packages (list[str]) – The list of package names that are to be installed
command (list[str]) – The command to run
is_conda (bool) –
Trueif conda install command is running.Falseif pip install command is runningis_gui (bool) –
Trueif the process is being called from the Faceswap GUI
Methods Summary
__call__()Install a package using the Subprocess module
Methods Documentation
- __call__() int
Install a package using the Subprocess module
- Return type:
The return code of the package install process
- __call__() int
Install a package using the Subprocess module
- Return type:
The return code of the package install process