[python-dtcwt] 35/497: keep project name in sphinx config so that it can be built separately

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:05:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.

commit 147fb4070b27b37560765c089f591db8e549987f
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Wed Aug 7 18:13:04 2013 +0100

    keep project name in sphinx config so that it can be built separately
---
 docs/conf.py | 3 ++-
 setup.py     | 4 +---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 9b131cb..6cee3ec 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -41,8 +41,9 @@ master_doc = 'index'
 
 # General information about the project.
 copyright = u'2013, Rich Wareham, Nick Kingsbury, Cian Shaffrey'
+project = 'dtcwt'
 
-# Project name, version and release are set in setup.py
+# Project version and release are set in setup.py
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/setup.py b/setup.py
index fcd60c6..1fd8805 100644
--- a/setup.py
+++ b/setup.py
@@ -9,12 +9,11 @@ def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
 # IMPORTANT: before release, remove the 'devN' tag from the release name
-name = 'dtcwt'
 version = '0.3'
 release = '0.3.0.dev1'
 
 setup(
-    name = name,
+    name = 'dtcwt',
     version = release,
     author = "Rich Wareham",
     author_email = "rich.dtcwt at richwareham.com",
@@ -38,7 +37,6 @@ setup(
 
     command_options = {
         'build_sphinx': {
-            'project': ( 'setup.py', name ),
             'version': ( 'setup.py', version ),
             'release': ( 'setup.py', release ),
         },

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list