[REL] 6.1.1
[odoo/odoo.git] / openerp / release.py
1 # -*- encoding: 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 = (6,1,1,FINAL,0)
34 version = '.'.join(map(str,version_info[:2])) + RELEASE_LEVELS_DISPLAY[version_info[3]] + str(version_info[4] or '')
35 major_version = '.'.join(map(str,version_info[:2]))
36
37 description = 'OpenERP Server'
38 long_desc = '''OpenERP is a complete ERP and CRM. The main features are accounting (analytic
39 and financial), stock management, sales and purchases management, tasks
40 automation, marketing campaigns, help desk, POS, etc. Technical features include
41 a distributed server, flexible workflows, an object database, a dynamic GUI,
42 customizable reports, and XML-RPC interfaces.
43 '''
44 classifiers = """Development Status :: 5 - Production/Stable
45 License :: OSI Approved :: GNU Affero General Public License v3
46 Programming Language :: Python
47 """
48 url = 'http://www.openerp.com'
49 author = 'OpenERP S.A.'
50 author_email = 'info@openerp.com'
51 license = 'AGPL-3'
52
53 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: