mailr28013 - /trunk/devel_scripts/manual_c_module.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 07, 2015 - 14:52:
Author: bugman
Date: Wed Oct  7 14:52:04 2015
New Revision: 28013

URL: http://svn.gna.org/viewcvs/relax?rev=28013&view=rev
Log:
Added Python 3.5 to the manual C module compilation script.


Modified:
    trunk/devel_scripts/manual_c_module.py

Modified: trunk/devel_scripts/manual_c_module.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/manual_c_module.py?rev=28013&r1=28012&r2=28013&view=diff
==============================================================================
--- trunk/devel_scripts/manual_c_module.py      (original)
+++ trunk/devel_scripts/manual_c_module.py      Wed Oct  7 14:52:04 2015
@@ -17,12 +17,8 @@
 
 # Python.h.
 include = '%s/include/python%s/' % (path, target)
-if target == '3.2':
-    include = '%s/include/python3.2m/' % path
-elif target == '3.3':
-    include = '%s/include/python3.3m/' % path
-elif target == '3.4':
-    include = '%s/include/python3.4m/' % path
+if target in ['3.2', '3.3', '3.4', '3.5']:
+    include = '%s/include/python%sm/' % (path, target)
 
 # Python 3.2 installed in the home directory.
 cmd.append("gcc -o target_functions/c_chi2.os -c -I%s -fPIC 
target_functions/c_chi2.c" % include)




Related Messages


Powered by MHonArc, Updated Wed Oct 07 15:00:03 2015