Re: [Sndobj-devel] after scons where do i put what?
Status: Abandoned
Brought to you by:
veplaini
From: David W. <so...@av...> - 2007-09-30 06:39:40
|
'ello, did you build with % scons pythonmodule=yes ? Python packages other than those used by the python shipped with the OS are usually located here: /Library/Frameworks/Python.framework/Versions/Current/lib/python2.x/ site-packages/ where x =5 from your description. I wrote an explanation about this which might help. see: http://www.avatar.com.au/sonipy/pythonExtend.html Here's my set-up: I'm using Python 2.4 and I have a sndobj directory in /Library/Frameworks/Python.framework/Versions/Current/lib/python2.4/ site-packages/sndobj/ which contains the following files: __init__.py __init__.pyc _sndobj.so sndobj.py sndobj.pyc the contents of __init__.py is from sndobj import * libsndobj.dylib is also in /usr/local/lib/ hope this helps, David On 30/09/2007, at 8:57 AM, 2g wrote: > hi, > > am on Slackintosh12.0@iBookG4 and have just started learning > Python2.5.1 on it > got swig-1.3.31 installed and did the scons with extracted > SndObj-2.6.5.tar.gz > but doing > python test.py > @ the python dir tells me that it cannot find > _sndobj module(?) > maybe had to cp some things to somewhere after the scons? > > @ OSX10.3.9 with PySndObj-1.02-OSX-Python2.3.tar.gz > this worked: > > 1. Copy _sndobj.so and sndobj.py to where your Python > site packages/modules usually reside > (did this to /Library/Python/2.3) > 2. Copy libsndobj.dylib to /usr/local/lib/ > > -- > 2g > http://micro.ispretty.com > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > _________________________________________________ experimental polymedia: www.avatar.com.au Sonic Communications Research Group, University of Canberra: www.canberra.edu.au/vc-forum/scrg vip=Verbal Interactivity Project |