Update of /cvsroot/pure-data/externals/grill/py/build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18937/build
Modified Files: config-lnx.def config-mac.def config-win.def gnumake-lnx-gcc.inc gnumake-mac-gcc.inc gnumake-win-cygwin.inc nmake-win-msvc.inc Log Message: multiply inlets for py (hot and cold inlets) small optimizations and fixes use PyGILState_*() functionality (enabled with PY_USE_GIL) updates for DSP processing __str__ method for pyext, to enable print self calls added message bundle functionality (pyext.Bundle class) enable compiled-only scripts (without .py) enable optimization of Python code in reease build let _inlets and _outlets default to 0 fix for numpy some ASSERTs for explicitly created pyext classes (should be runtime checks i guess) open editor for script under OS X fixing numpy initialization quirks enable symbol binding for all callables (not only functions and methods) _isthreaded is now a data member instead of a method fix for gcc4 added pyext._list and pyext._tuple to convert input lists to Python sequence objects enable module packages (module/__init__.py[co]), now also for Max python-like dotted module.function syntax cleaned up float vs. int pyext tags compiler flag to exclude DSP objects some optimizations and py reload fix more safety for calls where association python-pd has already been removed always run Python interpreter in the background
Index: gnumake-lnx-gcc.inc =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/build/gnumake-lnx-gcc.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** gnumake-lnx-gcc.inc 20 Jan 2007 14:27:21 -0000 1.4 --- gnumake-lnx-gcc.inc 7 Mar 2007 13:40:14 -0000 1.5 *************** *** 13,14 **** --- 13,17 ---- endif
+ ifdef PY_USE_GIL + DEFS += -DPY_USE_GIL + endif
Index: config-mac.def =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/build/config-mac.def,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** config-mac.def 3 Aug 2006 16:33:37 -0000 1.4 --- config-mac.def 7 Mar 2007 13:40:14 -0000 1.5 *************** *** 4,5 **** --- 4,8 ---- # PY_NUMARRAY=1 # PY_NUMERIC=1 + + # use thread-safe GIL functionality (do this for python version >= 2.3!) + PY_USE_GIL=1 \ No newline at end of file
Index: config-lnx.def =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/build/config-lnx.def,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** config-lnx.def 3 Aug 2006 16:33:37 -0000 1.5 --- config-lnx.def 7 Mar 2007 13:40:14 -0000 1.6 *************** *** 10,11 **** --- 10,14 ---- # PY_NUMARRAY=1 # PY_NUMERIC=1 + + # use thread-safe GIL functionality (do this for python version >= 2.3!) + PY_USE_GIL=1 \ No newline at end of file
Index: gnumake-win-cygwin.inc =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/build/gnumake-win-cygwin.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** gnumake-win-cygwin.inc 20 Jan 2007 14:27:21 -0000 1.3 --- gnumake-win-cygwin.inc 7 Mar 2007 13:40:14 -0000 1.4 *************** *** 14,15 **** --- 14,18 ---- endif
+ ifdef PY_USE_GIL + DEFS += -DPY_USE_GIL + endif \ No newline at end of file
Index: config-win.def =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/build/config-win.def,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** config-win.def 3 Aug 2006 16:33:37 -0000 1.7 --- config-win.def 7 Mar 2007 13:40:14 -0000 1.8 *************** *** 10,11 **** --- 10,14 ---- # PY_NUMARRAY=1 # PY_NUMERIC=1 + + # use thread-safe GIL functionality (do this for python version >= 2.3!) + PY_USE_GIL=1 \ No newline at end of file
Index: gnumake-mac-gcc.inc =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/build/gnumake-mac-gcc.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** gnumake-mac-gcc.inc 20 Jan 2007 14:27:21 -0000 1.4 --- gnumake-mac-gcc.inc 7 Mar 2007 13:40:14 -0000 1.5 *************** *** 13,14 **** --- 13,17 ---- endif
+ ifdef PY_USE_GIL + DEFS += -DPY_USE_GIL + endif \ No newline at end of file
Index: nmake-win-msvc.inc =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/build/nmake-win-msvc.inc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** nmake-win-msvc.inc 20 Jan 2007 14:27:21 -0000 1.5 --- nmake-win-msvc.inc 7 Mar 2007 13:40:14 -0000 1.6 *************** *** 15,16 **** --- 15,19 ---- !endif
+ !ifdef PY_USE_GIL + DEFS = $(DEFS) /DPY_USE_GIL + !endif