From d7562f0025fccf41eff516020b1edd2eba34190d Mon Sep 17 00:00:00 2001 From: "Yenthe V.G" Date: Tue, 2 Oct 2018 10:29:30 +0200 Subject: [PATCH] [IMP] odoo_install: let us go back to requirements.txt - Odoo got way more stable --- odoo_install.sh | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/odoo_install.sh b/odoo_install.sh index 0463ba5..5714fea 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -63,17 +63,6 @@ sudo su - postgres -c "createuser -s $OE_USER" 2> /dev/null || true echo -e "\n--- Installing Python 3 + pip3 --" sudo apt-get install python3 python3-pip -echo -e "\n---- Install tool packages ----" -sudo apt-get install wget git bzr python-pip gdebi-core -y - -echo -e "\n---- Install python packages ----" -sudo apt-get install python-pypdf2 python-dateutil python-feedparser python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi python-docutils python-psutil python-mock python-unittest2 python-jinja2 python-pypdf python-decorator python-requests python-passlib python-pil -y -sudo pip3 install pypdf2 Babel passlib Werkzeug decorator python-dateutil pyyaml psycopg2 psutil html2text docutils lxml pillow reportlab ninja2 requests gdata XlsxWriter vobject python-openid pyparsing pydot mock mako Jinja2 ebaysdk feedparser xlwt psycogreen suds-jurko pytz pyusb greenlet xlrd chardet libsass - -echo -e "\n---- Install python libraries ----" -# This is for compatibility with Ubuntu 16.04. Will work on 14.04, 15.04 and 16.04 -sudo apt-get install python3-suds - echo -e "\n--- Install other required packages" sudo apt-get install node-clean-css -y sudo apt-get install node-less -y @@ -113,6 +102,11 @@ sudo chown $OE_USER:$OE_USER /var/log/$OE_USER echo -e "\n==== Installing ODOO Server ====" sudo git clone --depth 1 --branch $OE_VERSION https://www.github.com/odoo/odoo $OE_HOME_EXT/ +#-------------------------------------------------- +# Install required packages +#-------------------------------------------------- +sudo pip3 install -r $OE_HOME_EXT/requirements.txt + if [ $IS_ENTERPRISE = "True" ]; then # Odoo Enterprise install! echo -e "\n--- Create symlink for node"