Update of /cvsroot/pure-data/externals/grill/py In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7214
Modified Files: license.txt package.txt py.vcproj readme.txt Log Message: support for Python threads, at last small fixes merged in 20041229-newdetach branch. renamed locking functions
Index: py.vcproj =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/py.vcproj,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** py.vcproj 8 Jan 2005 05:00:55 -0000 1.14 --- py.vcproj 9 Jan 2005 04:59:30 -0000 1.15 *************** *** 86,90 **** Name="VCCLCompilerTool" Optimization="0" ! AdditionalIncludeDirectories="c:\programme\audio\pd\src;c:\data\pdmax\flext\source;"C:\data\prog\packs\Python-2.4\include";"C:\data\prog\packs\Python-2.4\PC"" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=2;FLEXT_THREADS" BasicRuntimeChecks="3" --- 86,90 ---- Name="VCCLCompilerTool" Optimization="0" ! AdditionalIncludeDirectories="c:\data\prog\pd\pd-cvs\src;c:\data\pdmax\flext\source;"C:\data\prog\packs\Python-2.4\include";"C:\data\prog\packs\Python-2.4\PC"" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=2;FLEXT_THREADS" BasicRuntimeChecks="3"
Index: package.txt =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/package.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** package.txt 8 Jan 2005 05:00:55 -0000 1.4 --- package.txt 9 Jan 2005 04:59:30 -0000 1.5 *************** *** 1,8 **** NAME=py
! BUILDTYPE=multi ! BUILDDIR=build -
SRCDIR=source --- 1,6 ---- NAME=py
! BUILDTYPE=multi BUILDDIR=build
SRCDIR=source
Index: license.txt =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/license.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** license.txt 4 Jan 2003 04:36:49 -0000 1.2 --- license.txt 9 Jan 2005 04:59:30 -0000 1.3 *************** *** 29,33 **** --- flext ---------------------------------------------- flext - C++ layer for Max/MSP and pd (pure data) externals ! Copyright (C) 2001-2003 Thomas Grill
This program is free software; you can redistribute it and/or --- 29,33 ---- --- flext ---------------------------------------------- flext - C++ layer for Max/MSP and pd (pure data) externals ! Copyright (C) 2001-2005 Thomas Grill
This program is free software; you can redistribute it and/or
Index: readme.txt =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/readme.txt,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** readme.txt 17 Dec 2004 05:04:29 -0000 1.24 --- readme.txt 9 Jan 2005 04:59:30 -0000 1.25 *************** *** 1,23 **** ! py/pyext - python script objects for PD (and MaxMSP... once, under MacOSX and Windows)
! Copyright (c)2002-2004 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution.
Donations for further development of the package are highly appreciated. ! Visit https://www.paypal.com/xclick/business=t.grill%40gmx.net&item_name=pyext...
----------------------------------------------------------------------------
You will need the flext C++ layer for PD and Max/MSP externals to compile this. ! see http://www.parasitaere-kapazitaeten.net/ext ! ! ! Package files: ! - readme.txt: this one ! - gpl.txt,license.txt: GPL license stuff ! - main.cpp, main.h, modmeth.cpp, pyargs.cpp, register.cpp: base class ! - py.cpp: py object ! - pyext.cpp, pyext.h, clmeth.cpp, bound.cpp: pyext object
---------------------------------------------------------------------------- --- 1,15 ---- ! py/pyext - python script objects for PD and Max/MSP
! Copyright (c)2002-2005 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution.
Donations for further development of the package are highly appreciated. ! Visit https://www.paypal.com/xclick/business=gr%40grrrr.org&item_name=pyext&am...
----------------------------------------------------------------------------
You will need the flext C++ layer for PD and Max/MSP externals to compile this. ! see http://grrrr.org/ext/flext
---------------------------------------------------------------------------- *************** *** 30,34 **** PD - Load it as i library with e.g. "pd -lib py -path scripts"
- Max/MSP - Wait for Windows or a Mach-O MacOSX version. MacOS9 doesn't want it.
--- 22,25 ---- *************** *** 52,81 ****
The py/pyext package should run with Python version >= 2.1. ! It has been thoroughly tested with version 2.2 and 2.3 ! ! ! The package should at least compile (and is tested) with the following compilers: ! ! ! PD @ Windows: ! ------------- ! o Borland C++ 5.5 (free): edit "config-pd-bcc.txt" & run "build-pd-bcc.bat" ! ! o Microsoft Visual C++ 6/7: edit "config-pd-msvc.txt" & run "build-pd-msvc.bat" ! ! ! PD @ linux: ! ----------- ! o GCC: edit "config-pd-linux.txt" & run "sh build-pd-linux.sh" ! ! ! PD @ MacOSX: ! --------------------- ! You'll need to have Python installed as a framework. ! This is the default with Panther - otherwise, all newer Python source distributions are buildable as a darwin framework ! ( ./configure --enable-framework=/System/Library/Frameworks && make && make installframework ) ! ! o GCC: edit "config-pd-darwin.txt" & run "sh build-pd-darwin.sh" !
---------------------------------------------------------------------------- --- 43,47 ----
The py/pyext package should run with Python version >= 2.1. ! It has been thoroughly tested with versions 2.2 to 2.4
---------------------------------------------------------------------------- *************** *** 86,89 **** --- 52,58 ---- - ADD: handling of Python threads - FIX: output of single atoms instead of 1-element lists + - ADD: new detach mechanism (call queue) + - ADD: support for Max/MSP @ OSX and Windows + - DEL: eliminated meaningless inchannels and outchannels methods
0.1.4: *************** *** 154,165 **** features: - enable multiple interpreters? - - make a pygui object where Tkinter draws to the PD canvas... - stop individual threads - Python type for symbols
tests: - check for python threading support - - bugs: - - named (keyword) arguments are not supported - --- 123,130 ---- features: - enable multiple interpreters? - stop individual threads - Python type for symbols + - support named (keyword) arguments (like attributes for messages)
tests: - check for python threading support