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 0786477 commit 702878d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/actions/scala_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ runs:
# python-version:
shell: bash
run: |
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install -y python${{ matrix.python_minor }} \
sudo bash <<EOF
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install -y python${{ matrix.python_minor }} \
python${{ matrix.python_minor }}-dev \
python${{ matrix.python_minor }}-venv \
python${{ matrix.python_minor }}-distutils
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${{ matrix.python_minor }} 1
sudo mkdir -p /databricks
sudo python3 -m venv /databricks/python3
sudo chmod -R 766 /databricks
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${{ matrix.python_minor }} 1
mkdir -p /databricks
chmod -R 766 /databricks/
EOF
python3 -m venv /databricks/python3
echo "/databricks/python3" >> "$GITHUB_PATH"
- name: Add packaged GDAL dependencies
shell: bash
Expand Down

0 comments on commit 702878d

Please sign in to comment.