Revision: 315
http://gnuplot-py.svn.sourceforge.net/gnuplot-py/?rev=315&view=rev
Author: mhagger
Date: 2010-12-12 07:01:00 +0000 (Sun, 12 Dec 2010)
Log Message:
-----------
This apparently helps Gnuplot.py work a little on IronPython2.0.
Patch by: Shigeaki Matsumura
Additional comments (from tracker feature request 2806438):
> It seems like working, but __del__ methods are not properly called
> because of the GC mechanism on CLI. Anyway, I hope to use it on
> IronPython.
Modified Paths:
--------------
trunk/gp.py
Modified: trunk/gp.py
===================================================================
--- trunk/gp.py 2010-12-12 06:36:03 UTC (rev 314)
+++ trunk/gp.py 2010-12-12 07:01:00 UTC (rev 315)
@@ -27,7 +27,7 @@
# platform:
if sys.platform == 'mac':
from gp_mac import GnuplotOpts, GnuplotProcess, test_persist
-elif sys.platform == 'win32':
+elif sys.platform == 'win32' or sys.platform == 'cli':
from gp_win32 import GnuplotOpts, GnuplotProcess, test_persist
elif sys.platform == 'darwin':
from gp_macosx import GnuplotOpts, GnuplotProcess, test_persist
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|