gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r159235 - gump/branches/Gump3/gump
Date Mon, 28 Mar 2005 14:03:25 GMT
Author: leosimons
Date: Mon Mar 28 06:03:23 2005
New Revision: 159235

URL: http://svn.apache.org/viewcvs?view=rev&rev=159235
Log:
There was a subtle bug in pycompile where the import was not using GUMP_PYTHON, leading to
the compile working but the import failing if python != python2.4...

Modified:
    gump/branches/Gump3/gump

Modified: gump/branches/Gump3/gump
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/gump?view=diff&r1=159234&r2=159235
==============================================================================
--- gump/branches/Gump3/gump (original)
+++ gump/branches/Gump3/gump Mon Mar 28 06:03:23 2005
@@ -52,7 +52,7 @@
                          may have some unpredictable effects.
         GUMP_PYTHON   -- the name of the python executable to use. Defaults to
                          the latest version of python that is installed. Note
-                         that pygump is supported only on python2.3.
+                         that pygump is supported only on python2.4.
         GUMP_WORKDIR  -- the directory that pygump will generate various files in
                          (like log output). Defaults to GUMP_HOME/pygump/work.
         JAVA_HOME     -- the location of a java development kit. Gump tries to
@@ -432,6 +432,7 @@
   #check_pylib "rdflib" "http://rdflib.net/"
   check_pylib "MySQLdb" "http://sourceforge.net/projects/mysql-python"
   check_pylib "pmock" "http://pmock.sourceforge.net/"
+  check_pylib "subprocess" "http://www.lysator.liu.se/~astrand/popen5/"
 }
 
 # create a .pid file
@@ -494,7 +495,7 @@
   cd $GUMP_HOME/pygump
   local files=`find . -name '*.py' | sed -e 's/\.\///g' -e 's/\//./g' -e 's/\.py//g' -e 's/python\.//g'
| grep -v __init__`
   for i in $files; do
-    python -c "import $i"
+    $GUMP_PYTHON -c "import $i"
   done
   cd $current
 



Mime
View raw message