1 # -*- coding: utf-8 -*-
6 from distutils.core import setup
9 execfile(os.path.join(os.path.dirname(__file__), '..', '..', 'openerp', 'release.py'))
14 'start': ['stop', 'start'],
20 files.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*')))
21 for action, steps in actions.items():
22 fname = action + '.bat'
24 with open(fname, 'w') as fp:
25 fp.write('@PATH=%WINDIR%\system32;%WINDIR%;%WINDIR%\System32\Wbem;.\n')
27 fp.write('@net %s %s\n' % (step, nt_service_name))
31 service=["win32_service"],
36 author_email=author_email,
37 data_files=generate_files(),