mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-10-22 05:41:50 +00:00
Override dependencies with different name and pin versions
The name of the libs and python packages are different, Odoo expects the inner python package in the manifest, but setuptools cannot find the libs in pypi, overrides them with the libs names.
This commit is contained in:
1 parent
fe827e6b3f
commit
b45b4d23a9
2 files changed
+10
-1
No files matched your search
@@ -13,6 +13,7 @@
|
||||
'external_dependencies': {
|
||||
'python': ['swiftclient',
|
||||
'keystoneclient',
|
||||
'keystoneauth1',
|
||||
],
|
||||
},
|
||||
'website': 'https://www.camptocamp.com',
|
||||
|
||||
@@ -2,5 +2,13 @@ import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
odoo_addon={
|
||||
'external_dependencies_override': {
|
||||
'python': {
|
||||
'swiftclient': 'python-swiftclient>=3.7.0',
|
||||
'keystoneclient': 'python-keystoneclient>=3.19.0',
|
||||
'keystoneauth1': 'keystoneauth1>=3.14.0',
|
||||
},
|
||||
},
|
||||
}
|
||||
)
|
||||