[FIX] packaging: make Debian package depends on qrcode and vobject
As stated in issue #27752, some Debian packages are only recommended. As a consequence, these packages are not installed on the Official Docker image. In that case, if the user wants to install an Odoo module that needs one of these package, the Docker container has to be modified. python3-qrcode and python3-vobject are now part of the latest Debian stable (stretch) and the latest Ubuntu LTS (Bionic Beaver). Also, they are pure python, and very small. Thus, the Debian package can depends on them. co-author: @sbidoul Fixes #27752 Closes #28588 Closes #28371 Closes #28372
This commit is contained in:
Vendored
+2
-2
@@ -35,11 +35,13 @@ Depends:
|
|||||||
python3-pydot,
|
python3-pydot,
|
||||||
python3-pyparsing,
|
python3-pyparsing,
|
||||||
python3-pypdf2,
|
python3-pypdf2,
|
||||||
|
python3-qrcode,
|
||||||
python3-reportlab,
|
python3-reportlab,
|
||||||
python3-requests,
|
python3-requests,
|
||||||
python3-suds,
|
python3-suds,
|
||||||
python3-tz,
|
python3-tz,
|
||||||
python3-vatnumber,
|
python3-vatnumber,
|
||||||
|
python3-vobject,
|
||||||
python3-werkzeug,
|
python3-werkzeug,
|
||||||
python3-xlsxwriter,
|
python3-xlsxwriter,
|
||||||
Conflicts: tinyerp-server, openerp-server, openerp-web, openerp
|
Conflicts: tinyerp-server, openerp-server, openerp-web, openerp
|
||||||
@@ -48,8 +50,6 @@ Recommends:
|
|||||||
${python3:Recommends},
|
${python3:Recommends},
|
||||||
postgresql,
|
postgresql,
|
||||||
python3-pyldap,
|
python3-pyldap,
|
||||||
python3-qrcode,
|
|
||||||
python3-vobject,
|
|
||||||
Description: Open Source Apps To Grow Your Business
|
Description: Open Source Apps To Grow Your Business
|
||||||
Odoo, formerly known as OpenERP, is a suite of open-source business apps
|
Odoo, formerly known as OpenERP, is a suite of open-source business apps
|
||||||
written in Python and released under the LGPLv3 license. This suite of
|
written in Python and released under the LGPLv3 license. This suite of
|
||||||
|
|||||||
Vendored
-3
@@ -1,3 +0,0 @@
|
|||||||
pyldap
|
|
||||||
vobject
|
|
||||||
qrcode
|
|
||||||
@@ -151,7 +151,6 @@ setup(
|
|||||||
'psutil', # windows binary code.google.com/p/psutil/downloads/list
|
'psutil', # windows binary code.google.com/p/psutil/downloads/list
|
||||||
'psycopg2 >= 2.2',
|
'psycopg2 >= 2.2',
|
||||||
'pydot',
|
'pydot',
|
||||||
'pyldap', # optional
|
|
||||||
'pyparsing',
|
'pyparsing',
|
||||||
'pypdf2',
|
'pypdf2',
|
||||||
'pyserial',
|
'pyserial',
|
||||||
@@ -170,6 +169,7 @@ setup(
|
|||||||
],
|
],
|
||||||
python_requires='>=3.5',
|
python_requires='>=3.5',
|
||||||
extras_require={
|
extras_require={
|
||||||
|
'ldap': ['pyldap'],
|
||||||
'SSL': ['pyopenssl'],
|
'SSL': ['pyopenssl'],
|
||||||
},
|
},
|
||||||
tests_require=[
|
tests_require=[
|
||||||
|
|||||||
Reference in New Issue
Block a user