diff --git a/apio/managers/system.py b/apio/managers/system.py index db9bb804..ff8ed0bb 100644 --- a/apio/managers/system.py +++ b/apio/managers/system.py @@ -115,7 +115,7 @@ def get_ftdi_devices(self): def _run_command(self, command, silent=False): result = {} - print(f"(DEBUG) Run Command: {command}") + #print(f"(DEBUG) Run Command: {command}") # From apio >= 0.7.0, the system tools are locate in the # oss-cad-suite package instead of the system package @@ -123,15 +123,15 @@ def _run_command(self, command, silent=False): # -- Get the package base dir system_base_dir = util.get_package_dir("tools-oss-cad-suite") - print(f"(DEBUG) System_base_dir: {system_base_dir}") + #print(f"(DEBUG) System_base_dir: {system_base_dir}") # -- Get the folder were the binary file is locateds system_bin_dir = Path(system_base_dir) / "bin" - print(f"(DEBUG) System bin dir: {system_bin_dir}") + #print(f"(DEBUG) System bin dir: {system_bin_dir}") # -- Get the executable filename executable_file = system_bin_dir / (command + self.ext) - print(f"(DEBUG) Executable file: {executable_file}") + #print(f"(DEBUG) Executable file: {executable_file}") # -- Set the stdout and stderr for executing the command on_stdout = None if silent else self._on_stdout diff --git a/apio/profile.py b/apio/profile.py index d9d51cc9..429f044b 100644 --- a/apio/profile.py +++ b/apio/profile.py @@ -34,8 +34,8 @@ def __init__(self): # -- Get the profile path self._profile_path = str(Path(util.get_home_dir()) / "profile.json") - print(f"(DEBUG) Profile path: {self._profile_path}") - print(f"(DEBUG) Home_dir: {util.get_home_dir()}") + # print(f"(DEBUG) Profile path: {self._profile_path}") + # print(f"(DEBUG) Home_dir: {util.get_home_dir()}") # -- Read the profile from file self.load() diff --git a/apio/util.py b/apio/util.py index 3dfdbcb2..518fdcfb 100644 --- a/apio/util.py +++ b/apio/util.py @@ -359,9 +359,9 @@ def set_env_variables(base_dir, bin_dir): # print(f" get_bin_dir(): {get_bin_dir()}") # -- DEBUG - print() - print(f"PATH: {os.environ['PATH']}") - print() + # print() + # print(f"PATH: {os.environ['PATH']}") + # print() # Add other environment variables