[OpenMadrigal-developers] Python Distutils

John Byrnes byrnes at bu.edu
Sat Jan 29 03:04:50 EST 2005


In the python API distribution, I don't believe a README is required 
except to provide the user with build/install directions.  The 
important thing is the setup.py change.

> Thanks, I didn't know that about the name of the setup.py file.  I'll 
> make those changes.
>> Also, including a binary of the pnet library for Mac OSX on PPC with 
>> the Matlab API would be nice.  I can provide the file if you wish.
>
> I've stopped using pnet in my Matlab API because Matlab 6 and above 
> has the urlread method built in.  Are you using an older version of 
> Matlab?
>
Attempting to use the matlab API as documented on the OpenMadrigal 
website fails on at least the OSX version of MatlabR14 unless I compile 
the pnet.c file.  I haven't looked too closely at your matlab code, but 
it appears that pnet is still needed.  The matlab trace is at the end 
of this message.

> Let me know if you find this Madrigal interface useful.

I've just started playing with the interface, so it will take me some 
time to see if it can be used more effectively then the web interface.  
One option that I would find useful would be a flag to add a comment 
character (#,%,*) to the beginning of every header line.  That would 
make the output files much easier to parse.

Thanks!!

John


Matlab's output is listed below:

 >> url = 'transport.sri.com/madrigal'

url =

transport.sri.com/madrigal

 >> asdf = getMadrigalCgiUrl(url)
??? Attempt to execute SCRIPT pnet as a function.

Error in ==> getUrl at 12
con=pnet('tcpconnect',host,port);

Error in ==> getMadrigalCgiUrl at 17
pagedata = getUrl(url);




More information about the OpenMadrigal-developers mailing list