[REL] Odoo 8.0
[odoo/odoo.git] / openerp / release.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 #    OpenERP, Open Source Management Solution
5 #    Copyright (C) 2004-TODAY OpenERP S.A. <http://www.openerp.com>
6 #
7 #    This program is free software: you can redistribute it and/or modify
8 #    it under the terms of the GNU Affero General Public License as
9 #    published by the Free Software Foundation, either version 3 of the
10 #    License, or (at your option) any later version.
11 #
12 #    This program is distributed in the hope that it will be useful,
13 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #    GNU Affero General Public License for more details.
16 #
17 #    You should have received a copy of the GNU Affero General Public License
18 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 #
20 ##############################################################################
21
22 RELEASE_LEVELS = [ALPHA, BETA, RELEASE_CANDIDATE, FINAL] = ['alpha', 'beta', 'candidate', 'final']
23 RELEASE_LEVELS_DISPLAY = {ALPHA: ALPHA,
24                           BETA: BETA,
25                           RELEASE_CANDIDATE: 'rc',
26                           FINAL: ''}
27
28 # version_info format: (MAJOR, MINOR, MICRO, RELEASE_LEVEL, SERIAL)
29 # inspired by Python's own sys.version_info, in order to be
30 # properly comparable using normal operarors, for example:
31 #  (6,1,0,'beta',0) < (6,1,0,'candidate',1) < (6,1,0,'candidate',2)
32 #  (6,1,0,'candidate',2) < (6,1,0,'final',0) < (6,1,2,'final',0)
33 version_info = (8, 0, 0, FINAL, 0)
34 version = '.'.join(map(str, version_info[:2])) + RELEASE_LEVELS_DISPLAY[version_info[3]] + str(version_info[4] or '')
35 series = serie = major_version = '.'.join(map(str, version_info[:2]))
36
37 product_name = 'Odoo'
38 description = 'Odoo Server'
39 long_desc = '''Odoo is a complete ERP and CRM. The main features are accounting (analytic
40 and financial), stock management, sales and purchases management, tasks
41 automation, marketing campaigns, help desk, POS, etc. Technical features include
42 a distributed server, flexible workflows, an object database, a dynamic GUI,
43 customizable reports, and XML-RPC interfaces.
44 '''
45 classifiers = """Development Status :: 5 - Production/Stable
46 License :: OSI Approved :: GNU Affero General Public License v3
47 Programming Language :: Python
48 """
49 url = 'https://www.odoo.com'
50 author = 'OpenERP S.A.'
51 author_email = 'info@odoo.com'
52 license = 'AGPL-3'
53
54 nt_service_name = "odoo-server-" + series
55
56 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: