[Scipy-svn] r2194 - trunk/Lib/sandbox/svm

scipy-svn at scipy.org scipy-svn at scipy.org
Fri Sep 8 11:18:46 CDT 2006


Author: fullung
Date: 2006-09-08 11:18:38 -0500 (Fri, 08 Sep 2006)
New Revision: 2194

Modified:
   trunk/Lib/sandbox/svm/libsvm.py
Log:
Comment about our interesting library filename.


Modified: trunk/Lib/sandbox/svm/libsvm.py
===================================================================
--- trunk/Lib/sandbox/svm/libsvm.py	2006-09-08 16:14:39 UTC (rev 2193)
+++ trunk/Lib/sandbox/svm/libsvm.py	2006-09-08 16:18:38 UTC (rev 2194)
@@ -8,6 +8,9 @@
     'svm_node_dtype'
     ]
 
+# load libsvm library from the shared library/DLL using the file name
+# extension for Python extensions, because we are currently using
+# distutils to build the shared library/DLL as a Python extension
 so_ext = distutils.sysconfig.get_config_vars('SO')[0]
 _libsvm = N.ctypeslib.load_library('libsvm_%s' % so_ext, __file__)
 



More information about the Scipy-svn mailing list