Skip to content

Commit

Permalink
Just skip the colon for RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrsan committed Sep 20, 2023
1 parent 2b9885e commit a29cdd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ build:
- python -m pip install --upgrade pip
- export CPLUS_INCLUDE_PATH=/usr/include/gdal
- export C_INCLUDE_PATH=/usr/include/gdal
- echo apt show gdal-bin
- echo apt show gdal-bin | grep -oP "Version:: \d+\.\d+\.\d+" | grep -oP "\d+\.\d+\.\d+"
- export GDALVERSION=`apt show gdal-bin | grep -oP "Version:: \d+\.\d+\.\d+" | grep -oP "\d+\.\d+\.\d+"`
- apt show gdal-bin
- apt show gdal-bin | grep -oP "Version.{1} \d+\.\d+\.\d+" | grep -oP "\d+\.\d+\.\d+"
- export GDALVERSION=`apt show gdal-bin | grep -oP "Version.{1} \d+\.\d+\.\d+" | grep -oP "\d+\.\d+\.\d+"`
- python -m pip install 'gdal==$GDALVERSION'

# Build documentation in the "docs/" directory with Sphinx
Expand Down

0 comments on commit a29cdd4

Please sign in to comment.