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 260dbc2 commit f2fc222
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/actions/scala_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,22 @@ runs:
java-version: '8'
distribution: 'zulu'
- name: Configure python interpreter
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python }}
shell: bash
run: |
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install -y python3.11 python3.11-dev python3.11-venv python3.11-distutils
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
python3 -m venv /databricks/python3
echo "/databricks/python3" >> "$GITHUB_PATH"
- name: Add packaged GDAL dependencies
shell: bash
run : |
which python
cd python && pip install .
which gdal_calc.py
head $(which gdal_calc.py)
# 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
Expand Down

0 comments on commit f2fc222

Please sign in to comment.