Skip to content

Commit

Permalink
Simplify pygdal installation
Browse files Browse the repository at this point in the history
  • Loading branch information
t-book authored Jul 1, 2019
1 parent f47f752 commit 9d85bff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/install/core/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,7 @@ At this point your command prompt shows a ``(geonode)`` prefix, this indicates t
pip install -e . --upgrade --no-cache --no-cache-dir
# Install GDAL Utilities for Python
GDAL_VERSION=`gdal-config --version`; \
PYGDAL_VERSION="$(pip install pygdal==$GDAL_VERSION 2>&1 | grep -oP '(?<=: )(.*)(?=\))' | \
grep -oh '\b'${GDAL_VERSION}'[0-9.]\+\b')"; \
pip install pygdal==$PYGDAL_VERSION
pip install pygdal=="`gdal-config --version`.*"
Run GeoNode for the first time in DEBUG Mode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 9d85bff

Please sign in to comment.