Ticket #21642: pynmr.diff
File pynmr.diff, 1.9 KB (added by howarth@…, 15 years ago) |
---|
-
pmg_tk/startup/pynmr/Crmsd.i
old new 4 4 %array_functions(char *, charArray); 5 5 %array_functions(int, intArray); 6 6 %{ 7 extern char * C_do_best_range(char*, char*, char*, char*, char*, double); 7 8 %} 8 9 9 10 extern char * C_do_best_range(char*, char*, char*, char*, char*, double); -
pmg_tk/startup/pynmr/run.macos
old new 1 /Users/leigh/pynmr/swig/swig -python -I/Users/leigh/pynmr/swig/Lib/ -I/Users/leigh/pynmr/swig/Lib/python Crmsd.i1 @PREFIX@/bin/swig -python Crmsd.i 2 2 3 3 # now fix the error that swig produces... 4 4 sed -e '/SWIG_init/s/init_/init/' -e '/SWIG_name/s/_Crmsd/Crmsd/ ' Crmsd_wrap.c > Crmsd_wrap2.c … … 8 8 #gcc -c Crmsd.c Crmsd_wrap.c -I../../../meschach -I/usr/include/python2.3 -lm 9 9 #gcc -shared Crmsd.o Crmsd_wrap.o meschach.a -o Crmsd.so 10 10 11 gcc - fno-common -c Crmsd.c Crmsd_wrap.c -I/Users/leigh/pynmr/meschach -I/usr/include/python2.3-D_POSIX_C_SOURCE12 gcc - bundle -flat_namespace -L/usr/include/python2.3 Crmsd.o Crmsd_wrap.o /Users/leigh/pynmr/meschach/meschach.a -lPython-o Crmsd.so11 gcc -O3 -fno-common -c Crmsd.c Crmsd_wrap.c -I@PREFIX@/include/meschach -I@PREFIX@/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -D_POSIX_C_SOURCE 12 gcc -O3 -bundle -bundle_loader @PREFIX@/bin/python2.6 -flat_namespace -undefined suppress Crmsd.o Crmsd_wrap.o -L@PREFIX@/lib -lmeschach -o Crmsd.so 13 13 14 14 15 15 -
pmg_tk/startup/pynmr/test_data/test.script
old new 6 6 pairfit=0) 7 7 nmr_cmd.C_do_best_range('test_1', 'C N CA', \ 8 8 "test_1 test_2 test_3", "all", \ 9 " /home2/leigh/Proj/pynmr/pmg_tk/startup/pynmr/test_data/", 1.0)9 "@PREFIX@/lib/pymol/modules/pmg_tk/startup/pynmr/test_data", 1.0) 10 10