Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Implement venv #1253

Merged
merged 82 commits into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
5ce3e89
potential venv test 1
Thistleman Mar 9, 2023
37b600e
corrected typos
Thistleman Mar 9, 2023
a99190a
additional modifications
Thistleman Mar 9, 2023
d0db17c
modified routing
Thistleman Mar 10, 2023
79f5b9e
tweaked config test fix
Thistleman Mar 10, 2023
6906faa
testing fix
Thistleman Mar 10, 2023
0a0528b
tweaked more
Thistleman Mar 10, 2023
21a7af0
potential path fix for use with venv
Thistleman Mar 10, 2023
c29c40c
refined pythonpath
Thistleman Mar 10, 2023
e48b37c
debian 11 test version
Thistleman Mar 21, 2023
21b7449
fix for instance where home temp folder does not exist
Thistleman Mar 21, 2023
1083215
testing change
Thistleman Mar 21, 2023
f35de9f
adjusted pathing
Thistleman Mar 21, 2023
14187a4
fixed ldconfig
Thistleman Mar 21, 2023
362628a
fixed
Thistleman Mar 21, 2023
b024c3f
test using system python
Thistleman Mar 21, 2023
b4cdbb5
tweaked script
Thistleman Mar 21, 2023
becd218
fixed incorrect variable
Thistleman Mar 21, 2023
205f305
tweak
Thistleman Mar 21, 2023
ec6a1cb
uncommented python build
Thistleman Mar 21, 2023
cbe3c1e
added exports for library paths to test build on debian
Thistleman Mar 28, 2023
f2d47d3
bugfixes and typo corrections
Thistleman Mar 28, 2023
f9540a7
fixed typos for initial setup
Thistleman Mar 29, 2023
011bcbf
corrected run order
Thistleman Mar 29, 2023
af4fcd0
added /usr/local to paths
Thistleman Mar 29, 2023
29e4195
test flags
Thistleman Mar 29, 2023
87199d0
potential loader fix
Thistleman Mar 29, 2023
17f0bb4
testing fix
Thistleman Mar 29, 2023
f30deef
tweaked syntax for intended meaning
Thistleman Mar 29, 2023
8d917ab
adjusted c reference to bindir
Thistleman Mar 29, 2023
36038df
Fixed m4sh python3 config reference
Thistleman Mar 29, 2023
ffaa084
moved debian process to config.ac
Thistleman Mar 30, 2023
9e98026
adjusted command scripts
Thistleman Mar 30, 2023
e60d078
tweak for logging directory
Thistleman Mar 30, 2023
772e3ca
fixed command
Thistleman Mar 30, 2023
6d97387
YEAST
Thistleman Mar 30, 2023
ad7fe82
tweaking commands
Thistleman Mar 30, 2023
5fd0883
modified scripts
Thistleman Mar 30, 2023
b44dd1e
tweaked script for errors
Thistleman Mar 30, 2023
7c22553
adjusted prefix checks
Thistleman Mar 30, 2023
2bedf20
tweaked script
Thistleman Mar 30, 2023
29a7e60
adjusted configure script
Thistleman Mar 30, 2023
f006046
testing rewrites
Thistleman Mar 30, 2023
60d1070
adjusted script
Thistleman Mar 30, 2023
d3ce113
adjusted config.ac and linux build scripts for new process
Thistleman Mar 31, 2023
935ddb2
removed case format due to bug with configure
Thistleman Mar 31, 2023
be159b5
removed -q flag from grep command for conditional tests
Thistleman Mar 31, 2023
a487f9c
potential fix for version check bug
Thistleman Mar 31, 2023
fa91b96
adjusted host_os check due to aarch64 particularities
Thistleman Mar 31, 2023
ac0c19a
testing
Thistleman Mar 31, 2023
7da7fb2
test this
Thistleman Mar 31, 2023
8acce13
more testing
Thistleman Mar 31, 2023
24d34e2
alternative implementation
Thistleman Mar 31, 2023
5b3545f
added missing ")"
Thistleman Mar 31, 2023
da8aa4d
bug/typo
Thistleman Mar 31, 2023
fa5e3bc
testing alternate implementation
Thistleman Mar 31, 2023
f3ae61e
testing alternate implementation
Thistleman Mar 31, 2023
7486932
updated for POSIX shell
Thistleman Mar 31, 2023
5fdecf1
testing
Thistleman Mar 31, 2023
aff8e71
removed testing syntax checks
Thistleman Mar 31, 2023
e4132cf
removed unnecessary code that occasionally wiped cloned directory
Thistleman Mar 31, 2023
aa043bd
Merge branch 'develop' of https://github.com/slacgismo/gridlabd into …
Thistleman Apr 3, 2023
4ad76b2
potential m1 setup venv
Thistleman Apr 3, 2023
093e967
m1 install setup
Thistleman Apr 3, 2023
d121203
adjusted config
Thistleman Apr 3, 2023
7817730
potential fix
Thistleman Apr 4, 2023
47202f5
added venv support for mac
Thistleman Apr 4, 2023
4f63f9c
fixed reference in script
Thistleman Apr 4, 2023
33ace1f
tweaks
Thistleman Apr 4, 2023
4b55fdd
fixed make system
Thistleman Apr 4, 2023
7464363
retest tweaked fix
Thistleman Apr 4, 2023
1823bab
Create setup-Darwin-22.sh
aivanova5 Apr 4, 2023
1fcfe20
testing
Thistleman Apr 5, 2023
62b9e2b
try 3
Thistleman Apr 5, 2023
6645338
Merge branch 'develop-implement-venv' of https://github.com/slacgismo…
Thistleman Apr 5, 2023
c96537f
fixed makefile.am
Thistleman Apr 5, 2023
e78a5af
Update setup-Linux-debian-11.sh (#1269)
Thistleman Apr 6, 2023
3514387
Update setup-Linux-debian-11.sh (#1270)
Thistleman Apr 6, 2023
45fe453
fixed arm brew rference in intel
Thistleman Apr 6, 2023
3051d8c
Update develop.yml
Thistleman Apr 6, 2023
3e080f4
Update develop.yml
Thistleman Apr 6, 2023
6e8f18c
Update develop.yml
Thistleman Apr 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:

runs-on: ubuntu-latest
container: thistleman/test:latest
container: hipas/gridlabd-venv:develop

steps:
- uses: actions/checkout@v2
Expand All @@ -20,7 +20,10 @@ jobs:
run: |
chown -R $(id -u):$(id -g) $PWD
- name: install gridlabd
run: ./install.sh -v -t -p
run: |
autoreconf -isf
./configure
make system
- name: Install openfido
run: curl -sL https://raw.githubusercontent.com/openfido/cli/main/install.sh | bash
- name: Validate build
Expand Down
6 changes: 3 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ install-exec-hook: index python-requirements docs
@echo " $(DESTDIR)$(bindir)/gridlabd"
@echo ""
@echo "To make this version the default for all users on this system:"
@echo " $(DESTDIR)$(bindir)/gridlabd version set"
@echo " $(DESTDIR)$(bindir)/gridlabd version set $(shell basename $(exec_prefix))"
@echo ""

python-requirements: $(python_requirements)
@echo "Updating python requirements..."
@$(bindir)/python3 -m pip install -q -r $(subst $(subst ,, ), -r ,$(python_requirements))
@$(bindir)/pkgenv/bin/python3 -m pip install -q -r $(subst $(subst ,, ), -r ,$(python_requirements))

reconfigure: distclean
autoreconf -isf && $(PWD)/configure --quiet
Expand All @@ -325,7 +325,7 @@ $(PREFIX)/docker.img: docker/Dockerfile Makefile
system: python-install install
@echo "Setting $$($(top_srcdir)/build-aux/version.sh --install) to the current system version"
# @$(DESTDIR)$(bindir)/gridlabd docker disable > /dev/null
@$(DESTDIR)$(bindir)/gridlabd version set
@$(DESTDIR)$(bindir)/gridlabd version set $(shell basename $(exec_prefix))
@if [ ! "$$(gridlabd --version=install)" == "$$($(top_srcdir)/build-aux/version.sh --install)" ]; then \
echo 'WARNING : build and install versions differ; run `make reconfigure` to fix this problem'; \
fi
Expand Down
4 changes: 2 additions & 2 deletions build-aux/python3.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

#
# This should generally not be used and is only for the few C++ and header files making simple python calls.
exec $GLD_BIN/python3 "$@"
exec $GLD_BIN/pkgenv/bin/python3 "$@"

# Python modules should start without a hashbang, and instead use the below code without the #s. See gridlabd-convert as an example.
# ''':'
# exec "$GLD_BIN/python3" "$0" "$@"
# exec "$GLD_BIN/pkgenv/bin/python3" "$0" "$@"
# :' '''
85 changes: 16 additions & 69 deletions build-aux/setup-Darwin-17.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
# Set version and paths, using these vars will make future maintenance much better. #Automation
VERSION=${VERSION:-`build-aux/version.sh --name`}
VERSION_DIR=$VAR/$VERSION
PYTHON_DIR=Python.framework/Versions/Current
PYTHON_VER=3.9.13
PY_EXE=3.9
PKG_PYTHON_DIR=/usr/local/bin
VENV_PYTHON_DIR=$VERSION_DIR/bin/pkgenv/bin
PYTHON_VER=3.10

export PATH=$VERSION_DIR/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

# Check if python version currently in Applications and update owner
if [ -e /Applications/"Python $PY_EXE" ] ; then
sudo chown -R ${USER:-root} /Applications/"Python $PY_EXE"
if [ -e /Applications/"Python $PYTHON_VER" ] ; then
sudo chown -R ${USER:-root} /Applications/"Python $PYTHON_VER"
fi

brew update || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Expand All @@ -35,9 +35,10 @@ brew doctor
sudo mkdir etc
fi

export DYLD_LIBRARY_PATH=$VERSION_DIR/lib:$DYLD_LIBRARY_PATH
export LD_LIBRARY_PATH=$VERSION_DIR/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=$VERSION_DIR/lib:$LIBRARY_PATH
export DYLD_LIBRARY_PATH=$VERSION_DIR/lib:$VERSION_DIR/include:$DYLD_LIBRARY_PATH
export LD_LIBRARY_PATH=$VERSION_DIR/lib:$VERSION_DIR/include:$LD_LIBRARY_PATH
export LIBRARY_PATH=$VERSION_DIR/lib:$VERSION_DIR/include:$LIBRARY_PATH


# build tools

Expand All @@ -53,82 +54,29 @@ export LIBRARY_PATH=$VERSION_DIR/lib:$LIBRARY_PATH

# Install python $PYTHON_VER
# python3 support needed as of 4.2
if [ ! -x $VERSION_DIR/bin/python3 -o "$($VERSION_DIR/bin/python3 --version | cut -f3 -d.)" != "Python $PY_EXE" ]; then
if [ ! -x /usr/local/bin/python3 ] || [ "$(/usr/local/bin/python3 --version | cut -d' ' -f2 | cut -d. -f1-2)" != "$PYTHON_VER" ]; then
echo "installing python $PYTHON_VER and ssl module dependencies"
cd $VERSION_DIR/src

curl https://www.python.org/ftp/python/$PYTHON_VER/Python-$PYTHON_VER.tgz | tar xz

# include python ssl module and dependencies, uses ./Configure instead of ./configure due to custom implementation
curl -L http://xrl.us/installperlosx | bash
curl https://www.openssl.org/source/old/1.1.1/openssl-1.1.1n.tar.gz | tar xz
cd openssl-1.1.1n

# Needed to build python's ssl module
./Configure --prefix=$VERSION_DIR/openssl --openssldir=$VERSION_DIR/ssl --libdir=lib darwin64-x86_64-cc
make
make install

# needed for SSL module to make proper connections, as openssl does not actually provide the certificates.
brew reinstall [email protected]
brew install ca-certificates
CERT_DIR="$(echo /usr/local/Cellar/ca-certificates)"
unset -v latest
for file in "$CERT_DIR"/* ; do
[[ $file -nt $latest ]] && latest=$file
done
CERT_DIR=$latest
cp $CERT_DIR/share/ca-certificates/* $VERSION_DIR/ssl/cert.pem
cp $CERT_DIR/share/ca-certificates/* /usr/local/etc/[email protected]/certs/cert.pem

if [ ! -f $VERSION_DIR/ssl/cert.pem ] ; then
echo "The installer was unable to locate certificates for the python build"
echo "Please make sure homebrew can install ca-certificates before retrying build."
exit 1
fi
echo "installing python $PYTHON_VER"
brew install python@$PYTHON_VER

# tar xzf Python-$PYTHON_VER.tgz
cd $VERSION_DIR/src/Python-$PYTHON_VER

export MACOSX_DEPLOYMENT_TARGET=$( sw_vers -productVersion | sed 's/..$//' )
export PKG_CONFIG_PATH="$VERSION_DIR/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:$pythonLocation/lib/pkgconfig"
./configure --prefix=$VERSION_DIR \
--enable-framework=$VERSION_DIR \
--with-openssl=$VERSION_DIR/openssl \
--with-pydebug \
--with-computed-gotos \
--with-tcltk-libs="$(pkg-config --libs tcl tk)" \
--with-tcltk-includes="$(pkg-config --cflags tcl tk)" \
CFLAGS="-I/usr/local/include " \
LDFLAGS="-L/usr/local/lib -L/usr/local/opt/zlib/lib" \
CPPFLAGS="-I/usr/local/include -I/usr/local/opt/zlib/include"

# MAKEFLAGS need to be set to an empty string to prevent a bug with framework builds. Multiprocessor python framework builds fail when a -j value is set.
export MAKEFLAGS=""
make
make install

sudo ln -s $VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d $VERSION_DIR/$PYTHON_DIR/bin/python3
$VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d -m ensurepip --upgrade

sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d-config $VERSION_DIR/$PYTHON_DIR/bin/python3-config
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/pydoc${PY_EXE} $VERSION_DIR/$PYTHON_DIR/bin/pydoc
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/idle${PY_EXE} $VERSION_DIR/$PYTHON_DIR/bin/idle
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/* $VERSION_DIR/bin

$VERSION_DIR/bin/python3 -m ensurepip --upgrade
$VERSION_DIR/bin/python3 -m pip install matplotlib Pillow pandas numpy networkx pytz pysolar PyGithub scikit-learn xlrd boto3
$VERSION_DIR/bin/python3 -m pip install build
$VERSION_DIR/bin/python3 -m pip install pyproj

sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/* $VERSION_DIR/bin
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/include/* $VERSION_DIR/include
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/lib/* $VERSION_DIR/lib
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/share/* $VERSION_DIR/share
fi

# check for successful python build
if [ ! -x $VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d ]; then
if [ ! -x /usr/local/bin/python$PYTHON_VER ]; then
echo "Could not locate python executable in"
echo "PYTHON LOCATION: $VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d"
echo "PYTHON LOCATION: /usr/local/bin/python$PYTHON_VER"
echo "Exiting build."
exit 1
fi
Expand All @@ -151,7 +99,6 @@ brew install gdal

# libgeos
brew install geos
cp /usr/local/opt/geos/lib/libgeos* $VERSION_DIR/lib

if test ! -e /usr/local/lib; then
cd /usr/local
Expand Down
85 changes: 15 additions & 70 deletions build-aux/setup-Darwin-18.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
# Set version and paths, using these vars will make future maintenance much better. #Automation
VERSION=${VERSION:-`build-aux/version.sh --name`}
VERSION_DIR=$VAR/$VERSION
PYTHON_DIR=Python.framework/Versions/Current
PYTHON_VER=3.9.13
PY_EXE=3.9
PKG_PYTHON_DIR=/usr/local/bin
VENV_PYTHON_DIR=$VERSION_DIR/bin/pkgenv/bin
PYTHON_VER=3.10

export PATH=$VERSION_DIR/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

# Check if python version currently in Applications and update owner
if [ -e /Applications/"Python $PY_EXE" ] ; then
sudo chown -R ${USER:-root} /Applications/"Python $PY_EXE"
if [ -e /Applications/"Python $PYTHON_VER" ] ; then
sudo chown -R ${USER:-root} /Applications/"Python $PYTHON_VER"
fi

brew update || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Expand All @@ -35,12 +35,11 @@ brew doctor
sudo mkdir etc
fi

export DYLD_LIBRARY_PATH=$VERSION_DIR/lib:$VERSION_DIR/include:$DYLD_LIBRARY_PATH
export LD_LIBRARY_PATH=$VERSION_DIR/lib:$VERSION_DIR/include:$LD_LIBRARY_PATH
export LIBRARY_PATH=$VERSION_DIR/lib:$VERSION_DIR/include:$LIBRARY_PATH


export DYLD_LIBRARY_PATH=$VERSION_DIR/lib:$DYLD_LIBRARY_PATH
export LD_LIBRARY_PATH=$VERSION_DIR/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=$VERSION_DIR/lib:$LIBRARY_PATH

# build tools

brew install autoconf automake libtool gnu-sed gawk git
Expand All @@ -55,82 +54,29 @@ export LIBRARY_PATH=$VERSION_DIR/lib:$LIBRARY_PATH

# Install python $PYTHON_VER
# python3 support needed as of 4.2
if [ ! -x $VERSION_DIR/bin/python3 -o "$($VERSION_DIR/bin/python3 --version | cut -f3 -d.)" != "Python $PY_EXE" ]; then
if [ ! -x /usr/local/bin/python3 ] || [ "$(/usr/local/bin/python3 --version | cut -d' ' -f2 | cut -d. -f1-2)" != "$PYTHON_VER" ]; then
echo "installing python $PYTHON_VER and ssl module dependencies"
cd $VERSION_DIR/src

curl https://www.python.org/ftp/python/$PYTHON_VER/Python-$PYTHON_VER.tgz | tar xz

# include python ssl module and dependencies, uses ./Configure instead of ./configure due to custom implementation
curl -L http://xrl.us/installperlosx | bash
curl https://www.openssl.org/source/old/1.1.1/openssl-1.1.1n.tar.gz | tar xz
cd openssl-1.1.1n

# Needed to build python's ssl module
./Configure --prefix=$VERSION_DIR/openssl --openssldir=$VERSION_DIR/ssl --libdir=lib darwin64-x86_64-cc
make
make install

# needed for SSL module to make proper connections, as openssl does not actually provide the certificates.
brew reinstall [email protected]
brew install ca-certificates
CERT_DIR="$(echo /usr/local/Cellar/ca-certificates)"
unset -v latest
for file in "$CERT_DIR"/* ; do
[[ $file -nt $latest ]] && latest=$file
done
CERT_DIR=$latest
cp $CERT_DIR/share/ca-certificates/* $VERSION_DIR/ssl/cert.pem
cp $CERT_DIR/share/ca-certificates/* /usr/local/etc/[email protected]/certs/cert.pem

if [ ! -f $VERSION_DIR/ssl/cert.pem ] ; then
echo "The installer was unable to locate certificates for the python build"
echo "Please make sure homebrew can install ca-certificates before retrying build."
exit 1
fi
echo "installing python $PYTHON_VER"
brew install python@$PYTHON_VER

# tar xzf Python-$PYTHON_VER.tgz
cd $VERSION_DIR/src/Python-$PYTHON_VER

export MACOSX_DEPLOYMENT_TARGET=$( sw_vers -productVersion | sed 's/..$//' )
export PKG_CONFIG_PATH="$VERSION_DIR/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:$pythonLocation/lib/pkgconfig"
./configure --prefix=$VERSION_DIR \
--enable-framework=$VERSION_DIR \
--with-openssl=$VERSION_DIR/openssl \
--with-pydebug \
--with-computed-gotos \
--with-tcltk-libs="$(pkg-config --libs tcl tk)" \
--with-tcltk-includes="$(pkg-config --cflags tcl tk)" \
CFLAGS="-I/usr/local/include " \
LDFLAGS="-L/usr/local/lib -L/usr/local/opt/zlib/lib" \
CPPFLAGS="-I/usr/local/include -I/usr/local/opt/zlib/include"

# MAKEFLAGS need to be set to an empty string to prevent a bug with framework builds. Multiprocessor python framework builds fail when a -j value is set.
export MAKEFLAGS=""
make
make install

sudo ln -s $VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d $VERSION_DIR/$PYTHON_DIR/bin/python3
$VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d -m ensurepip --upgrade

sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d-config $VERSION_DIR/$PYTHON_DIR/bin/python3-config
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/pydoc${PY_EXE} $VERSION_DIR/$PYTHON_DIR/bin/pydoc
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/idle${PY_EXE} $VERSION_DIR/$PYTHON_DIR/bin/idle
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/* $VERSION_DIR/bin

$VERSION_DIR/bin/python3 -m ensurepip --upgrade
$VERSION_DIR/bin/python3 -m pip install matplotlib Pillow pandas numpy networkx pytz pysolar PyGithub scikit-learn xlrd boto3
$VERSION_DIR/bin/python3 -m pip install build
$VERSION_DIR/bin/python3 -m pip install pyproj

sudo ln -sf $VERSION_DIR/$PYTHON_DIR/bin/* $VERSION_DIR/bin
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/include/* $VERSION_DIR/include
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/lib/* $VERSION_DIR/lib
sudo ln -sf $VERSION_DIR/$PYTHON_DIR/share/* $VERSION_DIR/share
fi

# check for successful python build
if [ ! -x $VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d ]; then
if [ ! -x /usr/local/bin/python$PYTHON_VER ]; then
echo "Could not locate python executable in"
echo "PYTHON LOCATION: $VERSION_DIR/$PYTHON_DIR/bin/python${PY_EXE}d"
echo "PYTHON LOCATION: /usr/local/bin/python$PYTHON_VER"
echo "Exiting build."
exit 1
fi
Expand All @@ -153,7 +99,6 @@ brew install gdal

# libgeos
brew install geos
cp /usr/local/opt/geos/lib/libgeos* $VERSION_DIR/lib

if test ! -e /usr/local/lib; then
cd /usr/local
Expand Down
Loading