[FIX] install_OSX_dependency.sh python venv
- Install lessc
This commit is contained in:
parent
db4b145e72
commit
02a2227579
1 changed files with 6 additions and 3 deletions
|
|
@ -22,13 +22,15 @@ sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true
|
||||||
# Install Dependencies
|
# Install Dependencies
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
echo "\n--- Installing Python 3 + pip3 --"
|
echo "\n--- Installing Python 3 + pip3 --"
|
||||||
brew install git python3 wget
|
brew install git python3 wget pyenv
|
||||||
brew link git
|
brew link git
|
||||||
brew link wget
|
brew link wget
|
||||||
echo "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
|
echo "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
|
||||||
brew install nodejs npm
|
brew install nodejs npm
|
||||||
sudo npm install -g rtlcss
|
sudo npm install -g rtlcss
|
||||||
|
sudo npm install -g lessc
|
||||||
|
pyenv install 3.7.7
|
||||||
|
pyenv local 3.7.7
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
# Install Wkhtmltopdf if needed
|
# Install Wkhtmltopdf if needed
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
|
|
@ -49,4 +51,5 @@ fi
|
||||||
# ln -s ~/.pyenv/versions/3.6.9/bin/python3.6 /usr/local/bin/python3
|
# ln -s ~/.pyenv/versions/3.6.9/bin/python3.6 /usr/local/bin/python3
|
||||||
# ===============================================================================================
|
# ===============================================================================================
|
||||||
echo "\n---- Installing venv if not already existing (rm -r venv if already exists) ----"
|
echo "\n---- Installing venv if not already existing (rm -r venv if already exists) ----"
|
||||||
~/.pyenv/versions/3.6.9/bin/python3.6 -m venv venv
|
#~/.pyenv/versions/3.6.9/bin/python3.6 -m venv venv
|
||||||
|
/Users/"${EL_USER}"/.pyenv/versions/3.7.7/bin/python3 -m venv venv
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue