Added openerp-gevent and oe to 'scripts' section in setup.py

This commit is contained in:
Дмитро Катюха 2014-05-19 12:45:47 +03:00
parent 201701f38c
commit 9f13722f78
1 changed files with 6 additions and 3 deletions

View File

@ -69,7 +69,10 @@ def py2exe_options():
if os.name == 'nt': if os.name == 'nt':
import py2exe import py2exe
return { return {
"console" : [ { "script": "openerp-server", "icon_resources": [(1, join("install","openerp-icon.ico"))], }], "console" : [ { "script": "openerp-server", "icon_resources": [(1, join("install","openerp-icon.ico"))], },
{ "script": "openerp-gevent" },
{ "script": "oe" },
],
'options' : { 'options' : {
"py2exe": { "py2exe": {
"skip_archive": 1, "skip_archive": 1,
@ -93,7 +96,7 @@ def py2exe_options():
"mock", "mock",
"openerp", "openerp",
"poplib", "poplib",
"psutil", "psutil",
"pychart", "pychart",
"pydot", "pydot",
"pyparsing", "pyparsing",
@ -143,7 +146,7 @@ setuptools.setup(
author_email = author_email, author_email = author_email,
classifiers = filter(None, classifiers.split("\n")), classifiers = filter(None, classifiers.split("\n")),
license = license, license = license,
scripts = ['openerp-server'], scripts = ['openerp-server', 'openerp-gevent', 'oe'],
data_files = data(), data_files = data(),
packages = setuptools.find_packages(), packages = setuptools.find_packages(),
dependency_links = ['http://download.gna.org/pychart/'], dependency_links = ['http://download.gna.org/pychart/'],