davemds pushed a commit to branch master.

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

commit 2b9fdb8f355c76dc89144abbfb68056dabdfa2cc
Author: davemds <[email protected]>
Date:   Sun Mar 2 23:09:54 2014 +0100

    Python-EFL: start to prepare the 1.9 release
    
    * raised version to 1.9.0
    * removed versions from docs conf, they now comes automatically from 
setup.py
    * updated some years around
    * added a favicon to the docs
---
 doc/conf.py                      |  14 +++++++-------
 doc/images/logo.ico              | Bin 0 -> 4286 bytes
 doc/index.rst                    |   2 +-
 doc/themes/efldoc/static/efl.css |   2 +-
 setup.py                         |  17 ++++++++++++++---
 5 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index 43e3607..f9be31b 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -76,17 +76,17 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = u'Python Bindings for Enlightenment Foundation Libraries'
-copyright = u'2008-2013, Simon Busch, Gustavo Sverzut Barbieri, Ulisses 
Furquim, ProFUSION embedded systems, Boris Faure, Fabiano Fidencio, Davide 
Andreoli, Kai Huuhko'
+project = u'Python EFL'
+copyright = u'2008-2014, Simon Busch, Gustavo Sverzut Barbieri, Ulisses 
Furquim, ProFUSION embedded systems, Boris Faure, Fabiano Fidencio, Davide 
Andreoli, Kai Huuhko'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 #
 # The short X.Y version.
-version = '1.9'
+# version = 'X.Y'
 # The full version, including alpha/beta/rc tags.
-release = '1.8.99'
+# release = 'X.Y.Z'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -171,7 +171,7 @@ html_theme_path = ['themes']
 #html_title = None
 
 # A shorter title for the navigation bar.  Default is the same as html_title.
-html_short_title = "Python Bindings for EFL"
+html_short_title = "Python EFL"
 
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.
@@ -180,7 +180,7 @@ html_logo = "images/logo.png"
 # The name of an image file (within the static path) to use as favicon of the
 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
 # pixels large.
-#html_favicon = None
+html_favicon = "images/logo.ico"
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
@@ -313,7 +313,7 @@ texinfo_documents = [
 epub_title = u'Python Bindings for EFL'
 epub_author = u'Simon Busch, Gustavo Sverzut Barbieri, Ulisses Furquim, 
ProFUSION embedded systems, Boris Faure, Fabiano Fidencio, Davide Andreoli, Kai 
Huuhko'
 epub_publisher = u'Simon Busch, Gustavo Sverzut Barbieri, Ulisses Furquim, 
ProFUSION embedded systems, Boris Faure, Fabiano Fidencio, Davide Andreoli, Kai 
Huuhko'
-epub_copyright = u'2008-2013, Simon Busch, Gustavo Sverzut Barbieri, Ulisses 
Furquim, ProFUSION embedded systems, Boris Faure, Fabiano Fidencio, Davide 
Andreoli, Kai Huuhko'
+epub_copyright = u'2008-2014, Simon Busch, Gustavo Sverzut Barbieri, Ulisses 
Furquim, ProFUSION embedded systems, Boris Faure, Fabiano Fidencio, Davide 
Andreoli, Kai Huuhko'
 
 # The language of the text. It defaults to the language option
 # or en if the language is not set.
diff --git a/doc/images/logo.ico b/doc/images/logo.ico
new file mode 100644
index 0000000..be8f653
Binary files /dev/null and b/doc/images/logo.ico differ
diff --git a/doc/index.rst b/doc/index.rst
index 7c74481..5738076 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -76,7 +76,7 @@ Acknowledgements
 ----------------
 
 :Copyright:
-    Python Bindings for EFL are Copyright (C) 2008-2013 Simon Busch
+    Python Bindings for EFL are Copyright (C) 2008-2014 Simon Busch
     and various contributors (see AUTHORS).
 
 :License:
diff --git a/doc/themes/efldoc/static/efl.css b/doc/themes/efldoc/static/efl.css
index e784116..ceadbac 100644
--- a/doc/themes/efldoc/static/efl.css
+++ b/doc/themes/efldoc/static/efl.css
@@ -12,7 +12,7 @@
  *  This is usefull when something looks not so good as the original one to
  *  understand the reason.
  *
- * :copyright: Copyright 2013 by the Python-EFL team, see AUTHORS.
+ * :copyright: Copyright 2013-2014 by the Python-EFL team, see AUTHORS.
  * :license: LGPL, see COPYING for details.
  *
  */
diff --git a/setup.py b/setup.py
index 5059a5b..89896f1 100755
--- a/setup.py
+++ b/setup.py
@@ -11,9 +11,14 @@ from distutils.version import StrictVersion
 
 script_path = os.path.dirname(os.path.abspath(__file__))
 
+# python-efl version
+VERSION = "1.9"
+RELEASE = "1.9.0"
+
+# dependencies
 CYTHON_MIN_VERSION = "0.17.0"
-EFL_MIN_VERSION = "1.8.99"
-ELM_MIN_VERSION = "1.8.99"
+EFL_MIN_VERSION = "1.9.0"
+ELM_MIN_VERSION = "1.9.0"
 
 
 # XXX: Force default visibility. See phab T504
@@ -362,7 +367,7 @@ setup(
     name = "python-efl",
     fullname = "Python bindings for Enlightenment Foundation Libraries",
     description = "Python bindings for Enlightenment Foundation Libraries",
-    version = "1.8.99",
+    version = RELEASE,
     author = "Gustavo Sverzut Barbieri, Simon Busch, Boris 'billiob' Faure, 
Davide Andreoli, Fabiano Fidêncio, Bruno Dilly, Tiago Falcão, Joost Albers, Kai 
Huuhko, Ulisses Furquim",
     author_email = "[email protected], [email protected]",
     maintainer = "Kai Huuhko, Davide Andreoli",
@@ -376,6 +381,12 @@ setup(
         'build_doc': BuildDoc,
         'clean_generated_files': CleanGenerated
         },
+    command_options = {
+        'build_doc': {
+            'version': ('setup.py', VERSION),
+            'release': ('setup.py', RELEASE)
+            }
+        },
     package_dir = package_dirs,
     packages = packages,
     ext_package = "efl", # The prefix for ext modules/packages

-- 


Reply via email to