diff options
| author | Christophe Monniez <moc@odoo.com> | 2018-11-19 15:22:11 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2018-11-19 15:34:13 +0000 |
| commit | 51ee0c3cb59810449a60dae0b086b49b1ed6f946 (patch) | |
| tree | b9a7b01b148c97b663cea7585c77dc5f52f6fd76 /doc/setup | |
| parent | 7c3d5dc067c7c331dcc0b52bafbdfd067087a3c4 (diff) | |
[FIX] packaging: add qrcode package to docker file
After the Odoo package is built, the package.py script uses a Docker
image to test the package. After that python3-qrcode was added as a
dependency for the package in 2ff49c5f , it revealed some issues.
A missing cli parameter and a forgotten '&&' in the Dockerfile prevented
the installation of the depending packages.
Also, the script shebang was wrong by launching python2.
Finally, the fact that python3-xlwt is missing in Debian stretch was
highlighted. With this commit, the python3-xlwt is explicitly removed
from the dependencies and the documentation is updated accordingly.
closes odoo/odoo#28807
Diffstat (limited to 'doc/setup')
| -rw-r--r-- | doc/setup/install.rst | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/doc/setup/install.rst b/doc/setup/install.rst index 218b7bb5a7d..1088d90d8d8 100644 --- a/doc/setup/install.rst +++ b/doc/setup/install.rst @@ -169,21 +169,15 @@ Or ``dpkg``: This will install Odoo as a service, create the necessary PostgreSQL_ user and automatically start the server. -.. warning:: The 3 following python packages are only suggested by the Debian package. - Those packages are not available in Ubuntu Xenial (16.04). +.. warning:: The python3-xlwt Debian package does not exists in Debian Stretch nor Ubuntu 18.04. + This python module is needed to export into xls format. -* python3-vobject: Used in calendars to produce ical files. -* python3-pyldap: Used to authenticat users with LDAP. -* python3-qrcode: Used by the hardware driver for ESC/POS - -If you need one or all of the packages mentioned in the above warning, you can install them manually. +If you need the feature, you can install it manually. One way to do it, is simply using pip3 like this: .. code-block:: console - $ sudo pip3 install vobject qrcode - $ sudo apt install libldap2-dev libsasl2-dev - $ sudo pip3 install pyldap + $ sudo pip3 install xlwt .. warning:: Debian 9 and Ubuntu do not provide a package for the python module num2words. |
