diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2007-03-07 13:40:14 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2007-03-07 13:40:14 +0000 |
commit | 03c7468fcc51888c8271b904e4d6400ed5c1cbb1 (patch) | |
tree | 411627e2da0f574bba30fb6d6a5b772bff07e448 /externals/grill/py/build | |
parent | 2f2aaa03a0ace959c6ff911d8b11b45f143c7d6e (diff) |
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
svn path=/trunk/; revision=7474
Diffstat (limited to 'externals/grill/py/build')
-rw-r--r-- | externals/grill/py/build/config-lnx.def | 3 | ||||
-rw-r--r-- | externals/grill/py/build/config-mac.def | 3 | ||||
-rw-r--r-- | externals/grill/py/build/config-win.def | 3 | ||||
-rw-r--r-- | externals/grill/py/build/gnumake-lnx-gcc.inc | 3 | ||||
-rw-r--r-- | externals/grill/py/build/gnumake-mac-gcc.inc | 3 | ||||
-rw-r--r-- | externals/grill/py/build/gnumake-win-cygwin.inc | 3 | ||||
-rw-r--r-- | externals/grill/py/build/nmake-win-msvc.inc | 3 |
7 files changed, 21 insertions, 0 deletions
diff --git a/externals/grill/py/build/config-lnx.def b/externals/grill/py/build/config-lnx.def index e19f03bc..10e518f5 100644 --- a/externals/grill/py/build/config-lnx.def +++ b/externals/grill/py/build/config-lnx.def @@ -9,3 +9,6 @@ PYTHONVERSION=2.4 PY_NUMPY=1 # 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 diff --git a/externals/grill/py/build/config-mac.def b/externals/grill/py/build/config-mac.def index 57f6e3d5..752ee335 100644 --- a/externals/grill/py/build/config-mac.def +++ b/externals/grill/py/build/config-mac.def @@ -3,3 +3,6 @@ PY_NUMPY=1 # 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 diff --git a/externals/grill/py/build/config-win.def b/externals/grill/py/build/config-win.def index fee70e7b..98ab5552 100644 --- a/externals/grill/py/build/config-win.def +++ b/externals/grill/py/build/config-win.def @@ -9,3 +9,6 @@ PYTHONPATH=%programfiles%/python$(PYTHONVER) PY_NUMPY=1 # 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 diff --git a/externals/grill/py/build/gnumake-lnx-gcc.inc b/externals/grill/py/build/gnumake-lnx-gcc.inc index 483bb514..2babf197 100644 --- a/externals/grill/py/build/gnumake-lnx-gcc.inc +++ b/externals/grill/py/build/gnumake-lnx-gcc.inc @@ -12,3 +12,6 @@ ifdef PY_NUMERIC DEFS += -DPY_NUMERIC endif +ifdef PY_USE_GIL +DEFS += -DPY_USE_GIL +endif diff --git a/externals/grill/py/build/gnumake-mac-gcc.inc b/externals/grill/py/build/gnumake-mac-gcc.inc index c7080d47..8f8591af 100644 --- a/externals/grill/py/build/gnumake-mac-gcc.inc +++ b/externals/grill/py/build/gnumake-mac-gcc.inc @@ -12,3 +12,6 @@ ifdef PY_NUMERIC DEFS += -DPY_NUMERIC endif +ifdef PY_USE_GIL +DEFS += -DPY_USE_GIL +endif
\ No newline at end of file diff --git a/externals/grill/py/build/gnumake-win-cygwin.inc b/externals/grill/py/build/gnumake-win-cygwin.inc index 102c2ecd..d9487833 100644 --- a/externals/grill/py/build/gnumake-win-cygwin.inc +++ b/externals/grill/py/build/gnumake-win-cygwin.inc @@ -13,3 +13,6 @@ ifdef PY_NUMERIC DEFS += -DPY_NUMERIC endif +ifdef PY_USE_GIL +DEFS += -DPY_USE_GIL +endif
\ No newline at end of file diff --git a/externals/grill/py/build/nmake-win-msvc.inc b/externals/grill/py/build/nmake-win-msvc.inc index 0820daf9..a23e03ca 100644 --- a/externals/grill/py/build/nmake-win-msvc.inc +++ b/externals/grill/py/build/nmake-win-msvc.inc @@ -14,3 +14,6 @@ DEFS = $(DEFS) /DPY_NUMPY DEFS = $(DEFS) /DPY_NUMERIC !endif +!ifdef PY_USE_GIL +DEFS = $(DEFS) /DPY_USE_GIL +!endif |