diff options
| author | Stéphane Bidoul (ACSONE) <stephane.bidoul@acsone.eu> | 2018-06-30 09:41:31 +0000 |
|---|---|---|
| committer | Stéphane Bidoul (ACSONE) <stephane.bidoul@acsone.eu> | 2019-08-05 17:25:59 +0000 |
| commit | 795c7b0a9415d04a777e1a5d48921adbd72f38cf (patch) | |
| tree | 7f82b28fd52bba76de3ac16064e5a1cf9c776b93 /addons/web/static/src/xml/base.xml | |
| parent | 4f44ad4fe4e670eedb357bf5c04972c597fa3d5b (diff) | |
[IMP] core: improve python external dependencies check
Use pkg_resources.get_distribution() to check if python external
dependencies are installed, instead of trying an import.
The import test is preserved as a backwards compatibility measure.
This better expresses which python distribution needs to be installed
from PyPI and allows declaring a minimum supported version using PEP 440
version specifiers.
Closes #25541
closes odoo/odoo#25549
Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
