Update of /cvsroot/pure-data/externals/grill/py In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24934
Modified Files: license.txt py.vcproj readme.txt Log Message: added message bundle functionality (pyext.Bundle class) enable compiled-only scripts (without .py) small optimizations and fixes some optimizations and py reload fix better error message for reload with invalid args enable module packages (module/__init__.py[co]), now also for Max
Index: py.vcproj =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/py.vcproj,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** py.vcproj 12 Dec 2005 00:18:42 -0000 1.29 --- py.vcproj 23 Mar 2006 01:42:04 -0000 1.30 *************** *** 87,91 **** Optimization="0" AdditionalIncludeDirectories="C:\data\prog\packs\pthreads\include;"c:\data\pd\pd-cvs\src";..\flext\source;c:\programme\prog\Python24\include" ! PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PY_EXPORTS;FLEXT_SYS=2;FLEXT_THREADS;PY_NUMARRAY" 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" ! PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PY_EXPORTS;FLEXT_SYS=2;FLEXT_THREADS;PY_NUMARRAY;xFLEXT_USECMEM" BasicRuntimeChecks="3" RuntimeLibrary="1" *************** *** 489,493 **** <Tool Name="VCLinkerTool" ! AdditionalDependencies="maxapi.lib maxaudio.lib pthreadVC.lib" OutputFile=""C:\Programme\Gemeinsame Dateien\Cycling '74\externals\flext\py.mxe"" LinkIncremental="1" --- 489,493 ---- <Tool Name="VCLinkerTool" ! AdditionalDependencies="maxapi.lib maxaudio.lib" OutputFile=""C:\Programme\Gemeinsame Dateien\Cycling '74\externals\flext\py.mxe"" LinkIncremental="1" *************** *** 557,561 **** <Tool Name="VCLinkerTool" ! AdditionalDependencies="maxapi.lib maxaudio.lib pthreadVC.lib" OutputFile="./max-msvc/py.mxe" LinkIncremental="1" --- 557,561 ---- <Tool Name="VCLinkerTool" ! AdditionalDependencies="maxapi.lib maxaudio.lib" OutputFile="./max-msvc/py.mxe" LinkIncremental="1"
Index: license.txt =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/license.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** license.txt 27 Feb 2005 04:57:30 -0000 1.4 --- license.txt 23 Mar 2006 01:42:04 -0000 1.5 *************** *** 1,4 **** py/pyext - python script objects for PD and MaxMSP ! Copyright (C) 2002-2005 Thomas Grill
This program is free software; you can redistribute it and/or --- 1,4 ---- py/pyext - python script objects for PD and MaxMSP ! Copyright (C) 2002-2006 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 --- 29,33 ---- --- flext ---------------------------------------------- flext - C++ layer for Max/MSP and pd (pure data) externals ! Copyright (C) 2001-2006 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.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** readme.txt 12 Dec 2005 00:18:42 -0000 1.47 --- readme.txt 23 Mar 2006 01:42:04 -0000 1.48 *************** *** 1,5 **** 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. --- 1,5 ---- py/pyext - python script objects for PD and Max/MSP
! Copyright (c)2002-2006 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. *************** *** 19,35 **** It has been thoroughly tested with versions 2.2 to 2.4
- ---------------------------------------------------------------------------- - - Goals/features of the package: - - Access the flexibility of the python language in PD and MaxMSP
! PD - Load it as i library with e.g. "pd -lib py -path scripts"
! Check out the sample patches and scripts
Description: --- 19,35 ---- It has been thoroughly tested with versions 2.2 to 2.4
+ Check out the sample patches and scripts
! ----------------------------------------------------------------------------
+ Installation:
+ PD version >= 0.38 - Add "py" to the Startup items ("binaries to load") + PD version < 0.38 - Load it as i library with e.g. "pd -lib py -path scripts"
! Max/MSP - Copy py-objectmappings.txt into the init folder and py.mxe (Windows) or py.mxo (OSX) into the externals folder.
+ ----------------------------------------------------------------------------
Description: *************** *** 98,102 **** - ADD: py can have multiple inlets for multiple function arguments (right inlets are non-triggering) - ADD: allow module.function syntax for py and pyext ! - FIX: pyext: cleanup up float vs. int ... first decision is made by tag, afterwards a conversion is tried - ADD: pym: object-oriented object... Python methods for any object type - ADD: py: allow all callables (also object constructors and builtins) --- 98,102 ---- - ADD: py can have multiple inlets for multiple function arguments (right inlets are non-triggering) - ADD: allow module.function syntax for py and pyext ! - FIX: pyext: cleanup float vs. int ... first decision is made by tag, afterwards a conversion is tried - ADD: pym: object-oriented object... Python methods for any object type - ADD: py: allow all callables (also object constructors and builtins) *************** *** 116,119 **** --- 116,121 ---- - ADD: Buffer.resize(frames,keep=1,zero=1) method - ADD: py.Bundle class to support flext message bundles + - ADD: enable usage of compiled-only modules (.py[co]) + - ADD: enable usage of module packages (with module/__init__.py[co])
0.2.0: *************** *** 197,204 **** --- 199,208 ---- bugs: - crashes with long Python printouts + - pybase::GetModulePath should also look for .pyc and .pyo
general: - Documentation and better example patches - better error reporting for runtime errors + - we should pre-scan and cache class methods
features: