[Pythonmac-SIG] Step-by-step howto for testing new Mach{ho}Python architecture

Tony McDonald tony.mcdonald@ncl.ac.uk
Sun, 04 Aug 2002 11:48:33 +0100


On 4/8/02 10:48 am, "Tony McDonald" <tony.mcdonald@ncl.ac.uk> wrote:

> I have just two other questions abut the FrameworkPython too (please shout
> out if I've missed something obvious, and it's already documented);
> 
> 1) Is there a 'terminal' version of it?
> /Library/Frameworks/Python.framework/Versions/2.3/bin/python gives a bus
> error;
> Python 2.3a0 (#19, Aug  4 2002, 09:36:17)
> [GCC 2.95.2 19991024 (release)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> Bus error

Don't know about this bit - I still get a bus error.

I could be missing the point a bit here as I (obviously) get a terminal
window within the IDE.

However...

> 
> And finally!
> 2) how do you ensure that when you install a new module, it goes in the
> right place? Ie, presumably,
> /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
> 

% /Library/Frameworks/Python.framework/Versions/Current/bin/python setup.py
build
% /Library/Frameworks/Python.framework/Versions/Current/bin/python setup.py
install 

(why no bus error?)

Puts the modules (at least MySQLdb from
http://sourceforge.net/projects/mysql-python) into the right place, ie the
Framework python with no API mismatches or the like.

I've just run a quick MySQL python script in the IDE and it works :)

*Very* nice! - now, about that AdvancedEditor patch ...

Tone.
-- 
Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/zope