[pygobject: 16/23] setup.py: install documentation when available on build system
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject: 16/23] setup.py: install documentation when available on build system
- Date: Thu, 4 Nov 2010 22:43:55 +0000 (UTC)
commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Wed Nov 3 09:26:59 2010 +0100
setup.py: install documentation when available on build system
Signed-off-by: Dieter Verfaillie <dieterv optionexplicit be>
setup.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/setup.py b/setup.py
index bb5982f..b439084 100755
--- a/setup.py
+++ b/setup.py
@@ -234,6 +234,9 @@ else:
if gobject.can_build():
ext_modules.append(gobject)
data_files.append((INCLUDE_DIR, ('gobject/pygobject.h',)))
+ data_files.append((HTML_DIR, glob.glob('docs/html/*.html')))
+ data_files.append((HTML_DIR, ['docs/style.css']))
+ data_files.append((XSL_DIR, glob.glob('docs/xsl/*.xsl')))
py_modules += ['gobject.__init__', 'gobject.propertyhelper', 'gobject.constants']
else:
raise SystemExit("ERROR: Nothing to do, gobject could not be found and is essential.")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]