davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=c6508c52bb3cf08a5954ae2b7d90caa7c7bce957

commit c6508c52bb3cf08a5954ae2b7d90caa7c7bce957
Author: Dave Andreoli <[email protected]>
Date:   Sat Feb 7 11:25:51 2015 +0100

    Include the betaX in dist package name.
    
    This will generate the 1.13.0-beta1 pre-release
---
 efl/__init__.py | 23 ++++++++++++++++++++++-
 setup.py        |  4 ++--
 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 @@
+# Copyright (C) 2007-2015 various contributors (see AUTHORS)
+#
+# This file is part of Python-EFL.
+#
+# Python-EFL is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 3 of the License, or (at your option) any later version.
+#
+# Python-EFL is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this Python-EFL.  If not, see <http://www.gnu.org/licenses/>.
 
-__version__ = "1.13.0"
+# semver examples:
+# development: "1.12.99" ( 1, 12, 99 )
+# pre-release: "1.13.0-beta1" ( 1, 13, 0 )
+# release:     "1.13.0" ( 1, 13, 0 )
+
+__version__ = "1.13.0-beta1"
 __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
 from distutils.core import setup, Command
 from distutils.extension import Extension
 from distutils.version import StrictVersion, LooseVersion
-from efl import __version_info__ as vers
+from efl import __version__, __version_info__ as vers
 
 script_path = os.path.dirname(os.path.abspath(__file__))
 
 
 # python-efl version (change in efl/__init__.py)
-RELEASE = "%d.%d.%d" % (vers[0], vers[1], vers[2])
+RELEASE = __version__
 VERSION = "%d.%d" % (vers[0], vers[1] if vers[2] < 99 else vers[1] + 1)
 
 # dependencies

-- 


Reply via email to