diff options
| author | Simon Lejeune <sle@openerp.com> | 2014-11-26 14:08:05 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2014-11-28 16:40:55 +0100 |
| commit | be96dd85959528b86f7535b9b4cc0dc86981ca33 (patch) | |
| tree | cb0c20771883627cbe2ef563649e35f6fe87860d /setup.cfg | |
| parent | 50a4da99f051d125b8435477657ee2b115a8e0bd (diff) | |
[FIX] Packaging: RedHat: install in /usr and add systemd unit file
By default, the package was installed in /usr/local/lib/python2.7 in CentOS7.
It is problematic because most of other python packages are installed in /usr/lib
and also because /usr/local/lib is not in the default PYTHONPATH. It's fixed by
overriding the install script and forcing prefix to be /usr.
Added a minimal systemd unitfile.
Adapted tests accordingly.
Diffstat (limited to 'setup.cfg')
| -rw-r--r-- | setup.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg index 7d0e931e6cd..b1bc001f80b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,5 @@ [bdist_rpm] +install-script = setup/redhat/install.sh post-install = setup/redhat/postinstall.sh requires = |
