From 3a4296006956506adc216d72adf0a2a4281e89ab Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Thu, 12 Feb 2026 23:42:59 -0500 Subject: [PATCH] [UPD] OSX installation: remove python 3.7 --- script/install/install_OSX_dependency.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/script/install/install_OSX_dependency.sh b/script/install/install_OSX_dependency.sh index 7d6a49d..94568b6 100755 --- a/script/install/install_OSX_dependency.sh +++ b/script/install/install_OSX_dependency.sh @@ -12,7 +12,7 @@ EL_USER=${USER} #-------------------------------------------------- # Install PostgreSQL Server #-------------------------------------------------- -echo "\n---- Install PostgreSQL Server ----" +echo "\n---- Install PostgreSQL Server ----" if which psql >/dev/null 2>&1; then echo "postgresql is already installed, skipping" else @@ -21,39 +21,39 @@ else brew services start postgresql@15 fi -echo "\n---- Creating the ERPLibre PostgreSQL User ----" -sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true -sudo su - postgres -c "CREATE EXTENSION postgis;\nCREATE EXTENSION postgis_topology;" 2> /dev/null || true +echo "\n---- Creating the ERPLibre PostgreSQL User ----" +sudo su - postgres -c "createuser -s ${EL_USER}" 2>/dev/null || true +sudo su - postgres -c "CREATE EXTENSION postgis;\nCREATE EXTENSION postgis_topology;" 2>/dev/null || true #-------------------------------------------------- # Install Dependencies #-------------------------------------------------- -echo "\n--- Installing Python 3 + pip3 --" -#TODO is python@3.7 line here still usefull?? Should we get rid of it? -brew install git python@3.7 wget parallel mariadb +echo "\n--- Installing Python 3 + pip3 --" +brew install git wget parallel mariadb brew link git brew link wget -echo "\n--- Installing extra --" +echo "\n--- Installing extra --" brew install shfmt brew install parallel brew install swig brew install portaudio brew install xmlsec1 -echo "\n---- Installing nodeJS NPM and rtlcss for LTR support ----" +echo "\n---- Installing nodeJS NPM and rtlcss for LTR support ----" brew install nodejs npm openssl sudo npm install -g rtlcss sudo npm install -g less npm install -echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc +echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >>~/.zshrc #-------------------------------------------------- # Install Wkhtmltopdf if needed #-------------------------------------------------- -echo "\n---- Installing Wkhtmltopdf if needed ----" +echo "\n---- Installing Wkhtmltopdf if needed ----" if [ ! -f "wkhtmltox-0.12.6-2.macos-cocoa.pkg" ]; then sudo wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-2/wkhtmltox-0.12.6-2.macos-cocoa.pkg sudo sudo installer -pkg wkhtmltox-0.12.6-2.macos-cocoa.pkg -target / -else echo "Wkhtmltopdf already installed" +else + echo "Wkhtmltopdf already installed" fi