mailr19612 - /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 May 02, 2013 - 12:05:
Author: bugman
Date: Thu May  2 12:05:15 2013
New Revision: 19612

URL: http://svn.gna.org/viewcvs/relax?rev=19612&view=rev
Log:
Removed the numpy dependence from 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=19612&r1=19611&r2=19612&view=diff
==============================================================================
--- trunk/devel_scripts/manual_c_module.py (original)
+++ trunk/devel_scripts/manual_c_module.py Thu May  2 12:05:15 2013
@@ -20,13 +20,10 @@
 elif target == '3.3':
     include = '%s/include/python3.3m/' % path
 
-# numpy includes.
-numpy_include = '%s/lib/python%s/site-packages/numpy/core/include/' % (path, 
target)
-
 # Python 3.2 installed in the home directory.
-cmd.append("gcc -o target_functions/c_chi2.os -c -I%s -I%s -fPIC 
target_functions/c_chi2.c" % (include, numpy_include))
-cmd.append("gcc -o target_functions/exponential.os -c -I%s -I%s -fPIC 
target_functions/exponential.c" % (include, numpy_include))
-cmd.append("gcc -o target_functions/relax_fit.os -c -I%s -I%s -fPIC 
target_functions/relax_fit.c" % (include, numpy_include))
+cmd.append("gcc -o target_functions/c_chi2.os -c -I%s -fPIC 
target_functions/c_chi2.c" % include)
+cmd.append("gcc -o target_functions/exponential.os -c -I%s -fPIC 
target_functions/exponential.c" % include)
+cmd.append("gcc -o target_functions/relax_fit.os -c -I%s -fPIC 
target_functions/relax_fit.c" % include)
 cmd.append("gcc -o target_functions/relax_fit.so -shared 
target_functions/c_chi2.os target_functions/exponential.os 
target_functions/relax_fit.os")
 
 




Related Messages


Powered by MHonArc, Updated Thu May 02 12:20:01 2013