ScolaSync  4.0
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
version.py
Aller à la documentation de ce fichier.
1 # -*- coding: utf-8 -*-
2 # $Id: version.py 43 2011-01-15 23:12:57Z georgesk $
3 
4 licence={}
5 licence['en']="""
6  file version.py
7  this file is part of the project scolasync
8 
9  Copyright (C) 2010 Georges Khaznadar <georgesk@ofset.org>
10 
11  This program is free software: you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version3 of the License, or
14  (at your option) any later version.
15 
16  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program. If not, see <http://www.gnu.org/licenses/>.
23 """
24 
25 ##
26 #
27 # @return le numéro majeur de version
28 #
29 def major():
30  return "4"
31 
32 ##
33 #
34 # @return le numéro mineur de version
35 #
36 def minor():
37  return "0"
38 
39 ##
40 #
41 # @return l'identifiant de la version
42 #
43 def version():
44  return "%s.%s" %(major(), minor())
45 
46