Skip to content
Snippets Groups Projects

feat(spack_operation): implement setup_spack_env functionality

1 unresolved thread
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
import os
import subprocess
from pathlib import Path
@@ -9,8 +8,7 @@ from dedal.error_handling.exceptions import NoSpackEnvironmentException
from dedal.error_handling.exceptions import SpackInstallPackagesException
from dedal.logger.logger_builder import get_logger
from dedal.spack_factory.SpackOperation import SpackOperation
from dedal.configuration.SpackConfig import SpackConfig
from dedal.utils.utils import file_exists_and_not_empty, run_command, log_command, copy_to_tmp, copy_file
from dedal.utils.utils import file_exists_and_not_empty, run_command, log_command, copy_file
from dedal.wrapper.spack_wrapper import check_spack_env