From ccf66b2dfaa67669d94c5fdaeb8477c4bca17aa6 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 23 Mar 2006 20:28:27 +0000 Subject: enable compiled-only scripts (without .py) small fixes for OSX small fix pyext: fix for missing __init__ attribute small fixes for Max/OSX enable module packages (module/__init__.py[co]), now also for Max svn path=/trunk/; revision=4755 --- externals/grill/py/source/pybase.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'externals/grill/py/source') diff --git a/externals/grill/py/source/pybase.cpp b/externals/grill/py/source/pybase.cpp index c0f2bc44..ffe54852 100644 --- a/externals/grill/py/source/pybase.cpp +++ b/externals/grill/py/source/pybase.cpp @@ -2,7 +2,7 @@ py/pyext - python external object for PD and MaxMSP -Copyright (c)2002-2005 Thomas Grill (gr@grrrr.org) +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. @@ -493,7 +493,8 @@ static bool getmodulesub(const char *mod,char *dir,int len,char *ext) if(ok) { // convert path into slash style needed for Python -#if 1 +#if 0 + // Max API function uses Volume:/Path notation path_nameconform(smod,dir,PATH_STYLE_SLASH,PATH_TYPE_ABSOLUTE); #else #if FLEXT_OS == FLEXT_OS_WIN -- cgit v1.2.1