|
From: Andre W. <wo...@us...> - 2005-03-24 13:59:57
|
Hi, On 05.01.05, Fernando Perez wrote: > Let me suggest that you guys have a look at IPython's installer > (http://ipython.scipy.org). I had to deal with many similar issues, and I > also develop 'in the blind', since I did everything from a Linux box with > only about one day of work on a borrowed windows laptop. It's primitive > under windows, but it works. Feel free to grab any code from there you may > want. I took at look at it for several times now. But it didn't really match what we wanted to have. And you need to store install path information on Windows and Unix as well, and the way to go is to store the information in a python file created during install. I learned this by you. But once you do that on a Unix, you can use it on Windows as well. We do *not* need the registry for that. We do not need to look into the registry to find some information ... and we do not need to write something into it, since we keep it in a siteconfig.py file. Anyway, we do had troubles with the solution I proposed before. Right. I created a dependancy of the build_lib on install_data. That was a bad idea for sure. But I solved it (see below). > You will HAVE to read registry keys if you want to make something portable, > since the various windows directories can be called different things under > different windows versions. I also used the win32 extensions from David > Ascher so I could give windows users 'Start Menu' shortcuts for ipython > and the manuals, but if you give that up, you can run all the code with > only the tools in the stdlib. We do not care about menu entries, since PyX is a library, not an application. You nice ipython is different in that respect, of course. In the mean I kind of "unbroken" the CVS. Although there are some other things planed for 0.8 and those need to be addressed, if somebody wants to grab the current CVS, he should be able to test for the setup. I would be interested in somebody checking for the Windows installer and building rpm's. I can't check myself ... I don't have either of these environments. If nobody checks we have to see at the next release (which will not hurt me, but it would be nice to get it tested before) ... ;-) André -- by _ _ _ Dr. André Wobst / \ \ / ) wo...@us..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX (_/ \_)_/\_/ visit http://pyx.sourceforge.net/ |