gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] [PATCH] Remove call to pydoc; "scons www/" dies


From: Sanjeev Gupta
Subject: [gpsd-dev] [PATCH] Remove call to pydoc; "scons www/" dies
Date: Fri, 10 Apr 2015 20:59:57 +0800

Doing regression testing in the www/ directory :-)
---
 SConstruct | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/SConstruct b/SConstruct
index a8fb8dc..e1f8af7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1762,17 +1762,18 @@ env.Command('www/hardware.html', ['gpscap.py',
 # Utility("www/cycle.svg", ["www/cycle.dia"], ["dia -e www/cycle.svg 
www/cycle.dia"])
 
 # Experimenting with pydoc.  Not yet fired by any other productions.
-
-if env['python']:
-    env.Alias('pydoc', "www/pydoc/index.html")
-
-    # We need to run epydoc with the Python version we built the modules for.
-    # So we define our own epydoc instead of using /usr/bin/epydoc
-    EPYDOC = "python -c 'from epydoc.cli import cli; cli()'"
-    env.Command('www/pydoc/index.html', python_progs + glob.glob("*.py")  + 
glob.glob("gps/*.py"), [
-        'mkdir -p www/pydoc',
-        EPYDOC + " -v --html --graph all -n GPSD $SOURCES -o www/pydoc",
-            ])
+# scons www/ dies with this
+
+## if env['python']:
+##     env.Alias('pydoc', "www/pydoc/index.html")
+## 
+##     # We need to run epydoc with the Python version we built the modules 
for.
+##     # So we define our own epydoc instead of using /usr/bin/epydoc
+##     EPYDOC = "python -c 'from epydoc.cli import cli; cli()'"
+##     env.Command('www/pydoc/index.html', python_progs + glob.glob("*.py")  + 
glob.glob("gps/*.py"), [
+##         'mkdir -p www/pydoc',
+##         EPYDOC + " -v --html --graph all -n GPSD $SOURCES -o www/pydoc",
+##             ])
 
 # Productions for setting up and performing udev tests.
 #
-- 
2.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]