Skip to content

Commit

Permalink
gdal_calc python target?
Browse files Browse the repository at this point in the history
  • Loading branch information
sllynn committed Nov 29, 2024
1 parent 1da0cb3 commit 41004c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
10 changes: 1 addition & 9 deletions .github/actions/scala_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down
7 changes: 0 additions & 7 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 41004c1

Please sign in to comment.