From ed8f0c83c46a5011abb5da772b74c3aed5a32b9d Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Fri, 23 Sep 2016 22:25:18 +0200 Subject: [REF] cli: renamed openerp-server to odoo-bin 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. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index c226b1631e3..a43cd737cbe 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def py2exe_options(): import py2exe return { 'console': [ - {'script': 'openerp-server', 'icon_resources': [ + {'script': 'odoo-bin', 'icon_resources': [ (1, join('setup', 'win32', 'static', 'pixmaps', 'openerp-icon.ico')) ]}, ], @@ -128,7 +128,7 @@ setup( author_email=author_email, classifiers=filter(None, classifiers.split('\n')), license=license, - scripts=['openerp-server'], + scripts=['setup/odoo'], packages=find_packages(), package_dir={'%s' % lib_name: 'odoo'}, include_package_data=True, -- cgit v1.2.3