From 41004c1eacdcb858845f6986b18df0ad4aa2cbe0 Mon Sep 17 00:00:00 2001 From: sllynn Date: Fri, 29 Nov 2024 16:43:14 +0000 Subject: [PATCH] gdal_calc python target? --- .github/actions/scala_build/action.yml | 10 +--------- python/setup.py | 7 ------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/actions/scala_build/action.yml b/.github/actions/scala_build/action.yml index d55c12ace..1f4ec060e 100644 --- a/.github/actions/scala_build/action.yml +++ b/.github/actions/scala_build/action.yml @@ -12,9 +12,6 @@ runs: with: java-version: '8' distribution: 'zulu' -# uses: actions/setup-python@v2 -# with: -# python-version: - name: Configure python interpreter shell: bash run: | @@ -33,13 +30,8 @@ runs: - name: Add packaged GDAL dependencies shell: bash run : | - which python cd python && /databricks/python3/bin/pip install . -# sudo dpkg -i python/mosaic/gdal/gdal_3.10.0-1_amd64.deb || : -# sudo apt-get update && sudo apt-get install -f -y -# sudo dpkg -i python/mosaic/gdal/gdal_3.10.0-1_amd64.deb -# sudo dpkg -L gdal -# sudo apt-get install -y python3-numpy zip unzip + echo "/databricks/python3/bin" >> "$GITHUB_PATH" - name: Test and build the scala JAR - skip tests is false if: inputs.skip_tests == 'false' shell: bash diff --git a/python/setup.py b/python/setup.py index bb3f4e3c1..bf6b8a228 100644 --- a/python/setup.py +++ b/python/setup.py @@ -83,14 +83,7 @@ def run(self): if os.path.exists(deb_file): try: - # Run dpkg to install the .deb file - # try: subprocess.check_call(prepend + ["dpkg", "-i", deb_file]) - # except subprocess.CalledProcessError as e: - # subprocess.check_call( - # prepend + ["apt-get", "install", "-f", "-y"] - # ) # Fix dependencies if needed - # subprocess.check_call(prepend + ["dpkg", "-i", deb_file]) except subprocess.CalledProcessError as e: print(f"Error installing .deb package: {e}") sys.exit(1)