| 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
|