5 from setuptools import setup
7 name = 'openerp-web-proto'
9 description = "Web Client of OpenERP, the Enterprise Management Software"
10 long_description = "OpenERP Web is the web client of the OpenERP, a free enterprise management software"
11 author = "OpenERP S.A."
12 author_email = "info@openerp.com"
13 support_email = 'support@openerp.com'
14 url = "http://www.openerp.com/"
18 version_dash_incompatible = False
19 if 'bdist_rpm' in sys.argv:
20 version_dash_incompatible = True
23 from py2exe_utils import opts
24 version_dash_incompatible = True
27 if version_dash_incompatible:
28 version = version.split('-')[0]
31 r'.+\.(py|cfg|po|pot|mo|txt|rst|gif|png|jpg|ico|mako|html|js|css|htc|swf)$'
32 def find_data_files(source, patterns=FILE_PATTERNS):
33 file_matcher = re.compile(patterns, re.I)
35 for base, _, files in os.walk(source):
38 if file_matcher.match(f):
39 cur_files.append(os.path.join(base, f))
49 description=description,
50 long_description=long_description,
52 author_email=author_email,
54 download_url=download_url,
59 "simplejson >= 2.0.9",
60 "python-dateutil >= 1.4.1",
67 test_suite = 'unittest2.collector',
72 'addons.base.controllers',
73 'addons.base_calendar',
78 'Development Status :: 6 - Production/Stable',
79 'Operating System :: OS Independent',
80 'Programming Language :: Python',
81 'Environment :: Web Environment',
82 'Topic :: Office/Business :: Financial',
84 scripts=['scripts/openerp-web'],
85 data_files=(find_data_files('addons')
86 + opts.pop('data_files', [])