[pygtk] setup.py: install documentation when available on build system



commit c6feb046e3a9d457b6e8271fe025231bbcb278a9
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Wed Nov 3 11:20:46 2010 +0100

    setup.py: install documentation when available on build system

 setup.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/setup.py b/setup.py
index 4e7e0f8..03d26ec 100755
--- a/setup.py
+++ b/setup.py
@@ -313,6 +313,8 @@ if gtk.can_build():
     data_files.append((DEFS_INCLUDE_DIR, gtk_defs))
     data_files.append((DEFS_INCLUDE_DIR, gtk_types_defs))
     data_files.append((DEFS_INCLUDE_DIR, gtk_extra_defs))
+    data_files.append((HTML_DIR, glob.glob('docs/html/*.html')))
+
     py_modules += ['gtk.compat', 'gtk.deprecation', 'gtk.keysyms',
                    'gtk._lazyutils']
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]