diff --git a/build.sh b/build.sh index 7f29c58d5e55b3fdc19e5ef934ddc2f72dcf18e4..762a685d285cd8963fbe1c82b57f2471d338ce3c 100644 --- a/build.sh +++ b/build.sh @@ -27,23 +27,23 @@ pip install pandas scikit-image empatches scikit-learn scipy numpy matplotlib tq # conda run --no-capture-output -n ich PIP_REQUIRE_VENV=0 python -m pip install -e "${basedir}" # Verify the GDAL installation and other package availability -conda run --no-capture-output -n ich python -c ' -try: - from osgeo import gdal - import warnings - import argparse - import os - import sys - from skimage.util.shape import view_as_blocks - from mpl_toolkits.axes_grid1 import make_axes_locatable - from scipy.interpolate import griddata - from tqdm import tqdm - from concurrent.futures import ProcessPoolExecutor, as_completed - print("All modules imported successfully.") -except ImportError as e: - print(f"Import error: {e}") - sys.exit(1) -' +# conda run --no-capture-output -n ich python -c ' +# try: +# from osgeo import gdal +# import warnings +# import argparse +# import os +# import sys +# from skimage.util.shape import view_as_blocks +# from mpl_toolkits.axes_grid1 import make_axes_locatable +# from scipy.interpolate import griddata +# from tqdm import tqdm +# from concurrent.futures import ProcessPoolExecutor, as_completed +# print("All modules imported successfully.") +# except ImportError as e: +# print(f"Import error: {e}") +# sys.exit(1) +# ' # Optionally, you can include additional checks or commands below # For example, checking for specific versions of packages or running a test script.