Browse Source

Various sphinx related fixes

Jonas Borgström 12 years ago
parent
commit
06db9e897c
4 changed files with 11 additions and 10 deletions
  1. 2 1
      darc/__init__.py
  2. 7 7
      docs/conf.py
  3. 1 1
      setup.py
  4. 1 1
      tox.ini

+ 2 - 1
darc/__init__.py

@@ -1,3 +1,4 @@
 # This is a python package
 # This is a python package
 
 
-__version__ = '0.6dev'
+__version__ = '0.6'
+__release__ = __version__ + 'dev'

+ 7 - 7
docs/conf.py

@@ -40,15 +40,15 @@ source_suffix = '.rst'
 master_doc = 'index'
 master_doc = 'index'
 
 
 # General information about the project.
 # General information about the project.
-project = u'Darc - Deduplicating Archiver'
-copyright = u'2010-2011, Jonas Borgström'
+project = 'Darc - Deduplicating Archiver'
+copyright = '2010-2013, Jonas Borgström'
 
 
 # The version info for the project you're documenting, acts as replacement for
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 # built documents.
 #
 #
 # The short X.Y version.
 # The short X.Y version.
-version = darc.__release__
+version = darc.__version__
 # The full version, including alpha/beta/rc tags.
 # The full version, including alpha/beta/rc tags.
 release = darc.__release__
 release = darc.__release__
 
 
@@ -178,8 +178,8 @@ htmlhelp_basename = 'Darcdoc'
 # Grouping the document tree into LaTeX files. List of tuples
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, documentclass [howto/manual]).
 # (source start file, target name, title, author, documentclass [howto/manual]).
 latex_documents = [
 latex_documents = [
-  ('index', 'Darc.tex', u'Darc Documentation',
-   u'Jonas Borgström', 'manual'),
+  ('index', 'Darc.tex', 'Darc Documentation',
+   'Jonas Borgström', 'manual'),
 ]
 ]
 
 
 # The name of an image file (relative to this directory) to place at the top of
 # The name of an image file (relative to this directory) to place at the top of
@@ -211,6 +211,6 @@ latex_documents = [
 # One entry per manual page. List of tuples
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
 # (source start file, name, description, authors, manual section).
 man_pages = [
 man_pages = [
-    ('index', 'darc', u'Darc Documentation',
-     [u'Jonas Borgström'], 1)
+    ('index', 'darc', 'Darc Documentation',
+     ['Jonas Borgström'], 1)
 ]
 ]

+ 1 - 1
setup.py

@@ -46,7 +46,7 @@ except ImportError:
 
 
 setup(
 setup(
     name='Darc',
     name='Darc',
-    version=darc.__version__,
+    version=darc.__release__,
     author='Jonas Borgström',
     author='Jonas Borgström',
     author_email='jonas@borgstrom.se',
     author_email='jonas@borgstrom.se',
     url='http://github.com/jborg/darc/',
     url='http://github.com/jborg/darc/',

+ 1 - 1
tox.ini

@@ -2,4 +2,4 @@
 envlist = py32, py33
 envlist = py32, py33
 
 
 [testenv]
 [testenv]
-commands = fakeroot {envpython} -m darc.testsuite.run
+commands = fakeroot {envpython} -m darc.testsuite.run []