-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
numpy to 1.22.4 (avoid scipy conflict). R off.
- Loading branch information
1 parent
b447246
commit f493a50
Showing
10 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
# - setup_gdal(...) | ||
# [4] this script has conditional logic based on variables | ||
# Author: Michael Johns | [email protected] | ||
# Last Modified: 04 JAN, 2024 | ||
# Last Modified: 05 JAN, 2024 | ||
|
||
# TEMPLATE-BASED REPLACEMENT | ||
# - can also be manually specified | ||
|
@@ -28,8 +28,7 @@ WITH_FUSE_SO=0 # <- use fuse dir shared objects (vs wget) | |
# SPECIFIED VERSIONS | ||
# - may be changed by conditional logic | ||
# - https://docs.scipy.org/doc/scipy/dev/toolchain.html#toolchain-roadmap | ||
NUMPY_VERSION='<1.27,>=1.26' # <- for GDAL | ||
SCIPY_VERSION='<1.12,>=1.11' # <- adjusted for numpy | ||
NUMPY_VERSION='<1.23,>=1.22' # <- for GDAL + Mosaic | ||
GDAL_VERSION=3.4.1 # <- ubuntugis is 3.4.3 | ||
|
||
# - optional: install Mosaic | ||
|
@@ -54,10 +53,8 @@ then | |
sudo apt-get update -y | ||
|
||
# - install specific numpy version | ||
# - install scipy version (dep conflict) | ||
pip install --upgrade pip | ||
pip install --no-cache-dir --force-reinstall "numpy$NUMPY_VERSION" | ||
pip install --no-cache-dir --force-reinstall "scipy$SCIPY_VERSION" | ||
|
||
# - install natives | ||
sudo apt-get install -y gdal-bin libgdal-dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters