summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--efl/__init__.py23
-rwxr-xr-xsetup.py4
2 files changed, 24 insertions, 3 deletions
diff --git a/efl/__init__.py b/efl/__init__.py
index 8a57d15..ae0d1fc 100644
--- a/efl/__init__.py
+++ b/efl/__init__.py
@@ -1,3 +1,24 @@
1# Copyright (C) 2007-2015 various contributors (see AUTHORS)
2#
3# This file is part of Python-EFL.
4#
5# Python-EFL is free software; you can redistribute it and/or
6# modify it under the terms of the GNU Lesser General Public
7# License as published by the Free Software Foundation; either
8# version 3 of the License, or (at your option) any later version.
9#
10# Python-EFL is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Lesser General Public License for more details.
14#
15# You should have received a copy of the GNU Lesser General Public License
16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
1 17
2__version__ = "1.13.0" 18# semver examples:
19# development: "1.12.99" ( 1, 12, 99 )
20# pre-release: "1.13.0-beta1" ( 1, 13, 0 )
21# release: "1.13.0" ( 1, 13, 0 )
22
23__version__ = "1.13.0-beta1"
3__version_info__ = ( 1, 13, 0 ) 24__version_info__ = ( 1, 13, 0 )
diff --git a/setup.py b/setup.py
index b37ec58..fa0c744 100755
--- a/setup.py
+++ b/setup.py
@@ -8,13 +8,13 @@ import subprocess
8from distutils.core import setup, Command 8from distutils.core import setup, Command
9from distutils.extension import Extension 9from distutils.extension import Extension
10from distutils.version import StrictVersion, LooseVersion 10from distutils.version import StrictVersion, LooseVersion
11from efl import __version_info__ as vers 11from efl import __version__, __version_info__ as vers
12 12
13script_path = os.path.dirname(os.path.abspath(__file__)) 13script_path = os.path.dirname(os.path.abspath(__file__))
14 14
15 15
16# python-efl version (change in efl/__init__.py) 16# python-efl version (change in efl/__init__.py)
17RELEASE = "%d.%d.%d" % (vers[0], vers[1], vers[2]) 17RELEASE = __version__
18VERSION = "%d.%d" % (vers[0], vers[1] if vers[2] < 99 else vers[1] + 1) 18VERSION = "%d.%d" % (vers[0], vers[1] if vers[2] < 99 else vers[1] + 1)
19 19
20# dependencies 20# dependencies