acsone / setuptools-odoo

A library to help packaging Odoo addons with setuptools. It mainly populates the usual setup.py keywords from the Odoo manifest files.
GNU Lesser General Public License v3.0
41 stars 46 forks source link

How to handle the case of viivakoodi python dependency which needs to import barcode when using the task setuptools-odoo-get-requirements of pre-commit? #48

Closed jcdrubay closed 4 years ago

jcdrubay commented 4 years ago
sbidoul commented 4 years ago

@jcdrubay since Odoo 13, you can put PyPI project names in external_dependencies. This is the recommended way as it facilitates discovery of these dependencies, for humans and machines alike.

Alternatively, or if you need to further declare version specifiers for the dependency, you can add overrides in setup.py.

jcdrubay commented 4 years ago

Thanks @sbidoul