Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: Tentative request

Date2008-05-07 08:07
Fromvictor
Subject[Csnd] Re: Re: Re: Re: Tentative request
Did you use 'install.py' ?

----- Original Message ----- 
From: "Bruce H. McCosar" 
To: 
Sent: Wednesday, May 07, 2008 12:39 AM
Subject: [Csnd] Re: Re: Re: Tentative request


> My apologies -- we our trying to sell our house right now, and I
> had to evacuate rather quickly while a realtor took prospective
> buyers on a tour.  It does tend to ctrl-alt-delete the mind.
>
> --- victor  wrote:
>> > * Python extension modules are built, but not installed
>> (except
>> > by hand)
>> Can you be more specific about which platform?
>
> Installing from source, on Ubuntu Linux 7.10 and later 8.04:
> after a flawless install of the main Csound components (with
> even some helpful hints at the end about the correct environment
> variables), I tried 'import csnd' in a Python window.  I wasn't
> able to get it to work, so I started playing detective.  It
> turned out, only one file had been installed -- csnd.py.
>
> The following is the "post-install" shell script I now use to
> install this, and the other modules, in my preferred location,
> /usr/local:
>
> [script must be used in the Csound5 build directory]
>
> sudo mv /usr/lib/python2.5/site-packages/csnd.py
> /usr/local/lib/python2.5/site-packages/
>
> sudo mv CompositionBase.py CsoundAC.py
> /usr/local/lib/python2.5/site-packages/
>
> sudo mv _csnd.so _CsoundAC.so lib_CsoundAC.so
> /usr/local/lib/python2.5/site-packages/
>
> With the above done, the Python modules work perfectly (as far
> as I understand them, at least).
>
> --BMC
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2008-05-07 12:30
From"Bruce H. McCosar"
Subject[Csnd] Re: Re: Re: Re: Re: Tentative request
--- victor  wrote:

> Did you use 'install.py' ?

Yes .. 'sudo ./install.py'  If there was some other way to
install the components, I missed it.  Considering the use of
scons, and my experience with Python, I'm in the "install.py is
your friend" camp ;-)

Date2008-05-07 12:34
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: Re: Re: Tentative request
I have to check the code. Will do and then I'll get back to you.

At 12:30 07/05/2008, you wrote:
>--- victor  wrote:
>
> > Did you use 'install.py' ?
>
>Yes .. 'sudo ./install.py'  If there was some other way to
>install the components, I missed it.  Considering the use of
>scons, and my experience with Python, I'm in the "install.py is
>your friend" camp ;-)
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>csound"

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth