-
Notifications
You must be signed in to change notification settings - Fork 0
/
env_vars.sh
41 lines (41 loc) · 1.22 KB
/
env_vars.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
LIBPNG_VERSION=1.6.35
ZLIB_VERSION=1.2.11
JPEG_VERSION=9c
GEOS_VERSION=3.11.2
JSONC_VERSION=0.15
SQLITE_VERSION=3440000
PROJ_VERSION=9.1.0
PROJ_DATA_VER=1.19.0
GDAL_VERSION=3.7.3
CURL_VERSION=8.4.0
NGHTTP2_VERSION=1.46.0
EXPAT_VERSION=2.4.9
TIFF_VERSION=4.3.0
OPENSSL_DOWNLOAD_URL=https://www.openssl.org/source/
OPENSSL_ROOT=openssl-1.1.1w
OPENSSL_HASH=cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8
export MACOSX_DEPLOYMENT_TARGET=11.0
if [ -z "$IS_OSX" ] || [ "$PLAT" == x86_64 ]; then
export MACOSX_DEPLOYMENT_TARGET=13.0
fi
if [ -z "$IS_OSX" ] || [ "$PLAT" == arm_64 ]; then
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
fi
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
export GDAL_CONFIG=/usr/local/bin/gdal-config
export PACKAGE_DATA=1
#from PROJ 9.x
export PROJ_DIR=/usr/local/
export PROJ_DATA=${PROJ_DIR}share/proj
export PROJ_WHEEL=true
export PROJ_NETWORK=ON
#export SETUPTOOLS_USE_DISTUTILS=stdlib
if [[ "$REPO_DIR" == "pyproj" ]]; then
export PROJ_DIR=${GITHUB_WORKSPACE}/pyproj/pyproj/proj_dir
export PROJ_DATA=${PROJ_DIR}/share/proj
if [ -z "$IS_OSX" ]; then
echo "PROJ_DIR on ManyLinux "
export PROJ_DIR=/io/pyproj/pyproj/proj_dir
export PROJ_DATA=${PROJ_DIR}/share/proj
fi
fi