diff --git a/tests/sphinxexample/conf.py b/tests/sphinxexample/conf.py index ec478dd..7208393 100644 --- a/tests/sphinxexample/conf.py +++ b/tests/sphinxexample/conf.py @@ -40,20 +40,20 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'wsmeext.sphinxext Test' -copyright = u'2011, Christophe de Vienne' +project = 'wsmeext.sphinxext Test' +copyright = '2011, Christophe de Vienne' # 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. # -import pkg_resources -dist = pkg_resources.require('WSME')[0] +import pbr.version +version_info = pbr.version.VersionInfo('WSME') # The short X.Y version. -version = '.'.join(dist.version[:2]) +version = version_info.version_string() # The full version, including alpha/beta/rc tags. -release = dist.version +release = version_info.version_string() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -187,8 +187,8 @@ htmlhelp_basename = 'WebServicesMadeEasydoc' # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'WebServicesMadeEasy.tex', u'Web Services Made Easy Documentation', - u'Christophe de Vienne', 'manual'), + ('index', 'WebServicesMadeEasy.tex', 'Web Services Made Easy Documentation', + 'Christophe de Vienne', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -220,8 +220,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'webservicesmadeeasy', u'Web Services Made Easy Documentation', - [u'Christophe de Vienne'], 1) + ('index', 'webservicesmadeeasy', 'Web Services Made Easy Documentation', + ['Christophe de Vienne'], 1) ] diff --git a/wsmeext/__init__.py b/wsmeext/__init__.py deleted file mode 100644 index ece379c..0000000 --- a/wsmeext/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -import pkg_resources -pkg_resources.declare_namespace(__name__)