The use of an entry point was considered in order to provide an `odoo` command in the path for the packages users, but the generated entry point will first check that all the things in install_requires were provided in a not bright way: it'll check that it matches a distribution name. This does not work because python-chart does not have the distrubtion name "pychart" which is provided by the python-pychart package in debian jessie. Same for suds-jurko which is provided by python-suds in debian stretch but does not have the distribution name "suds". Also, adapted the packages tests to these cli changes.
7 lines
83 B
Python
Executable File
7 lines
83 B
Python
Executable File
#!/usr/bin/env python
|
|
import odoo
|
|
|
|
if __name__ == "__main__":
|
|
odoo.cli.main()
|
|
|