[PD-cvs] externals/grill/py package.txt, 1.11, 1.12 py.vcproj, 1.31, 1.32 readme.txt, 1.50, 1.51
Thomas Grill
xovo at users.sourceforge.net
Wed Mar 7 14:40:16 CET 2007
- Previous message: [PD-cvs] externals/grill/py/py.xcodeproj project.pbxproj,1.2,1.3
- Next message: [PD-cvs] externals/grill/py/build config-lnx.def, 1.5, 1.6 config-mac.def, 1.4, 1.5 config-win.def, 1.7, 1.8 gnumake-lnx-gcc.inc, 1.4, 1.5 gnumake-mac-gcc.inc, 1.4, 1.5 gnumake-win-cygwin.inc, 1.3, 1.4 nmake-win-msvc.inc, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/grill/py
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18937
Modified Files:
package.txt py.vcproj readme.txt
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: py.vcproj
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/py/py.vcproj,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** py.vcproj 20 Jan 2007 14:27:21 -0000 1.31
--- py.vcproj 7 Mar 2007 13:40:13 -0000 1.32
***************
*** 87,91 ****
Optimization="0"
AdditionalIncludeDirectories="C:\data\prog\packs\pthreads\include;"c:\data\pd\pd-cvs\src";..\flext\source;C:\Programme\prog\Python24\include;"C:\Programme\prog\Python24\Lib\site-packages\numpy\core\include""
! PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PY_EXPORTS;FLEXT_SYS=2;FLEXT_THREADS;xPY_NUMPY;xFLEXT_USECMEM"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
--- 87,91 ----
Optimization="0"
AdditionalIncludeDirectories="C:\data\prog\packs\pthreads\include;"c:\data\pd\pd-cvs\src";..\flext\source;C:\Programme\prog\Python24\include;"C:\Programme\prog\Python24\Lib\site-packages\numpy\core\include""
! PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PY_EXPORTS;FLEXT_SYS=2;FLEXT_THREADS;PY_NUMPY;FLEXT_USECMEM;PY_USE_GIL"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
***************
*** 153,157 ****
Optimization="0"
AdditionalIncludeDirectories="c:\programme\audio\pd\src;c:\data\pdmax\flext\source;C:\Programme\prog\Python24\include"
! PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=2;FLEXT_THREADS;PY_EXPORTS;PY_NUMARRAY"
StringPooling="TRUE"
RuntimeLibrary="0"
--- 153,157 ----
Optimization="0"
AdditionalIncludeDirectories="c:\programme\audio\pd\src;c:\data\pdmax\flext\source;C:\Programme\prog\Python24\include"
! PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=2;FLEXT_THREADS;PY_EXPORTS;PY_NUMARRAY;PY_USE_GIL"
StringPooling="TRUE"
RuntimeLibrary="0"
***************
*** 168,172 ****
Name="VCLinkerTool"
AdditionalDependencies="pd.lib pthreadVC.lib"
! OutputFile="pd-msvc\py.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
--- 168,172 ----
Name="VCLinkerTool"
AdditionalDependencies="pd.lib pthreadVC.lib"
! OutputFile="$(outdir)\py.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
Index: package.txt
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/py/package.txt,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** package.txt 12 Dec 2005 13:55:28 -0000 1.11
--- package.txt 7 Mar 2007 13:40:13 -0000 1.12
***************
*** 1,16 ****
! NAME=py
!
! BUILDTYPE=multi
! BUILDDIR=build
!
! SRCDIR=source
! PRECOMPILE=pyprefix.h
!
! SRCS= \
! main.cpp \
! py.cpp pyext.cpp modmeth.cpp clmeth.cpp \
! register.cpp bound.cpp pyargs.cpp \
! pysymbol.cpp pybuffer.cpp pybundle.cpp pydsp.cpp \
! pyatom.cpp pybase.cpp pymeth.cpp
!
! HDRS= pyprefix.h main.h pyext.h pysymbol.h pybuffer.h pybundle.h pyatom.h pybase.h
--- 1,16 ----
! NAME=py
!
! BUILDTYPE=multi
! BUILDDIR=build
!
! SRCDIR=source
! PRECOMPILE=pyprefix.h
!
! SRCS= \
! main.cpp \
! py.cpp pyext.cpp modmeth.cpp clmeth.cpp \
! register.cpp bound.cpp pyargs.cpp \
! pysymbol.cpp pybuffer.cpp pybundle.cpp pydsp.cpp \
! pyatom.cpp pybase.cpp pymeth.cpp
!
! HDRS= pyprefix.h main.h pyext.h pysymbol.h pybuffer.h pybundle.h pyatom.h pybase.h
Index: readme.txt
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/py/readme.txt,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** readme.txt 3 Aug 2006 16:33:37 -0000 1.50
--- readme.txt 7 Mar 2007 13:40:13 -0000 1.51
***************
*** 1,5 ****
py/pyext - python script objects for PD and Max/MSP
! Copyright (c)2002-2006 Thomas Grill (gr at grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
--- 1,5 ----
py/pyext - python script objects for PD and Max/MSP
! Copyright (c)2002-2007 Thomas Grill (gr at grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
***************
*** 17,22 ****
The py/pyext package should run with Python version >= 2.1.
! It has been thoroughly tested with versions 2.2 to 2.4
Check out the sample patches and scripts
--- 17,23 ----
The py/pyext package should run with Python version >= 2.1.
! It has been thoroughly tested with versions 2.2 to 2.5
+ The default build setting using PY_USE_GIL requires Python version >= 2.3.
Check out the sample patches and scripts
***************
*** 48,52 ****
-> use PD 0.38 or the devel_0_37 cvs branch instead
- It has been reported that pyext crashes on AMD64 with SSE enabled (for these CPUs, disable the respective compiler flags)
- - Threading in pyext obviously crashes under linux with Python version 2.4.2 (only)
----------------------------------------------------------------------------
--- 49,52 ----
***************
*** 121,124 ****
--- 121,126 ----
- ADD: enable usage of compiled-only modules (.py[co])
- ADD: enable usage of module packages (with module/__init__.py[co])
+ - ADD: make use of the PyGILState_*() functions
+ - ADD: always run the Python interpreter in the background (to keep alive Python threads)
0.2.0:
- Previous message: [PD-cvs] externals/grill/py/py.xcodeproj project.pbxproj,1.2,1.3
- Next message: [PD-cvs] externals/grill/py/build config-lnx.def, 1.5, 1.6 config-mac.def, 1.4, 1.5 config-win.def, 1.7, 1.8 gnumake-lnx-gcc.inc, 1.4, 1.5 gnumake-mac-gcc.inc, 1.4, 1.5 gnumake-win-cygwin.inc, 1.3, 1.4 nmake-win-msvc.inc, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list