Revision: 381
          http://rpy.svn.sourceforge.net/rpy/?rev=381&view=rev
Author:   warnes
Date:     2007-11-29 08:06:18 -0800 (Thu, 29 Nov 2007)

Log Message:
-----------
ensure RHOMES is in ascii, since most command line tools are unhappy with 
unicode...

Modified Paths:
--------------
    trunk/rpy/setup.py

Modified: trunk/rpy/setup.py
===================================================================
--- trunk/rpy/setup.py  2007-11-29 15:59:45 UTC (rev 380)
+++ trunk/rpy/setup.py  2007-11-29 16:06:18 UTC (rev 381)
@@ -59,6 +59,9 @@
         RHOMES = [rpy_tools.get_R_HOME(force_exec=False)]
     print "Setting RHOMES to ", RHOMES
 
+# ensure RHOMES is in ascii, since most command line tools are unhappy with 
unicode...
+RHOMES = map( lambda x: x.encode('ascii'), RHOMES )
+
 # On windows, check for/create the python link library 
 #if sys.platform=="win32":
 #    rpy_wintools.CreatePythonWinLib()


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to