[pytango] 315/483: minor changes to setup.py
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.
commit 6f83ed20f2d336a89cbe5f71fcb9f367ae5acec3
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Fri Nov 22 12:46:55 2013 +0000
minor changes to setup.py
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@24337 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
doc/_static/banner3.png | Bin 0 -> 108825 bytes
doc/_templates/index.html | 6 ++++--
setup.py | 11 ++++++-----
3 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/doc/_static/banner3.png b/doc/_static/banner3.png
new file mode 100644
index 0000000..6299619
Binary files /dev/null and b/doc/_static/banner3.png differ
diff --git a/doc/_templates/index.html b/doc/_templates/index.html
index 1ed166b..8d53c05 100644
--- a/doc/_templates/index.html
+++ b/doc/_templates/index.html
@@ -21,8 +21,10 @@
<img src="_static/banner1.png" />
<!-- 2nd snap -->
<img src="_static/banner2.png" />
-
<!-- 3rd snap -->
+ <img src="_static/banner3.png" />
+
+ <!-- 4th snap -->
<table style="width:100%;"><tr>
<td>
@@ -86,7 +88,7 @@
</td>
</tr></table>
- <!-- 4th snap -->
+ <!-- 5th snap -->
<table style="width:100%;"><tr>
<td>
diff --git a/setup.py b/setup.py
index bd8d7f4..a75f445 100644
--- a/setup.py
+++ b/setup.py
@@ -268,8 +268,8 @@ if sphinx:
# code so that the documentation is built on this and not a
# previously installed version
- build = self.get_finalized_command('build')
- sys.path.insert(0, os.path.abspath(build.build_lib))
+ build_cmd = self.get_finalized_command('build')
+ sys.path.insert(0, os.path.abspath(build_cmd.build_lib))
sphinx.setup_command.BuildDoc.run(self)
sys.path.pop(0)
@@ -287,8 +287,8 @@ class install_html(Command):
('install_html', 'install_dir'))
def run(self):
- build_doc = self.get_finalized_command('build_doc')
- src_html_dir = abspath(build_doc.build_dir, 'html')
+ build_doc_cmd = self.get_finalized_command('build_doc')
+ src_html_dir = abspath(build_doc_cmd.build_dir, 'html')
self.copy_tree(src_html_dir, self.install_dir)
@@ -313,7 +313,8 @@ class install(dftinstall):
# install_data seems to be, in practice, the proper install_base on all
# different systems.
if self.install_html is None:
- self.install_html = os.path.join(self.install_data, 'share', 'doc', 'PyTango', 'html')
+ self.install_html = os.path.join(self.install_data,
+ 'share', 'doc', 'PyTango', 'html')
def has_html(self):
return sphinx is not None
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git
More information about the debian-science-commits
mailing list