diff options
| author | Simon Lejeune <sle@openerp.com> | 2014-11-26 15:53:36 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2014-11-28 16:40:55 +0100 |
| commit | 56b61da16387e642130477e604022207a77e3f74 (patch) | |
| tree | ef072d2e6bbd5cce1711d8a824bec8a46d92c6df /setup | |
| parent | be96dd85959528b86f7535b9b4cc0dc86981ca33 (diff) | |
[FIX] Packaging: RedHat: dependencies management
PyChart is now in the EPEL repo so we now list it as required in
setup.cfg. The other mandatory lib not provided by EPEL are
pyPdf, vatnumber and pydot and are now installed by easy_install
during the post install.
Diffstat (limited to 'setup')
| -rwxr-xr-x | setup/package.py | 2 | ||||
| -rw-r--r-- | setup/redhat/postinstall.sh | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/setup/package.py b/setup/package.py index ec95448bcf6..f803c688676 100755 --- a/setup/package.py +++ b/setup/package.py @@ -327,8 +327,6 @@ def test_rpm(o): # Dependencies centos7.system('yum install -d 0 -e 0 epel-release -y') centos7.system('yum update -d 0 -e 0 -y') - centos7.system('yum install -d 0 -e 0 python-pip gcc python-devel -y') - centos7.system('pip install pydot pyPdf vatnumber xlwt http://download.gna.org/pychart/PyChart-1.39.tar.gz') # Manual install/start of postgres centos7.system('yum install -d 0 -e 0 postgresql postgresql-server postgresql-libs postgresql-contrib postgresql-devel -y') centos7.system('mkdir -p /var/lib/postgres/data') diff --git a/setup/redhat/postinstall.sh b/setup/redhat/postinstall.sh index d12621bf8a0..ccc8fd63ebe 100644 --- a/setup/redhat/postinstall.sh +++ b/setup/redhat/postinstall.sh @@ -54,3 +54,4 @@ ExecStart=/usr/bin/odoo.py --config=/etc/odoo/openerp-server.conf [Install] WantedBy=multi-user.target EOF +easy_install pyPdf vatnumber pydot |
