|
From: pieter c. <pi...@pi...> - 2005-01-05 14:13:55
|
Hello Andre, I am not on the mailing list so you might have to forward this on. Both pyx.def and 10pt.lfs are located in c:\python24\share\pyx I would keep things out of c:\windows because that is cruising for a bruising. Only Bill and friends are supposed to write there and anyhow, permissions might be a problem on some machines (local policy). There is a registery setting HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir which specifies where program files are installed. That is probably a more reasonable place to installed stuff if not under the python24 dir. Don't know the python installer well enough to know if it can check the install platform before doing its thing. If there is a hook, then here is a link for registery query from within python. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146305 I would suggest if some stuff is moved to c:\{program files}\python24 then everything must be moved there. That sounds like an installer change to me? Cheers, Pieter > Hi, > > On 05.01.05, Joerg Lehmann wrote: >> Probably, we have to check >> for the platform in the setup.py file. > > It seems so. Yes. > >> But before, we have to find >> a sensible place for the pyxrc file under Windows. Any ideas? > > c:\windows ... ;-) > > Well, I have no idea. I think the generic place would be somewhere in > the registry. Not everything is a file, at least not under windows. > ;-( > > To make a serious suggestion: We might place it under "share/pyx" as > well. But I don't know, where those things get installed in the end. > Pieter, can you locate "pyx.def" and things like "10pt.lfs" on your > maschine. Just to get an understanding myself, what I'm suggesting ... > > > André > > -- > by _ _ _ Dr. André Wobst > / \ \ / ) wo...@us..., http://www.wobsta.de/ > / _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX > (_/ \_)_/\_/ visit http://pyx.sourceforge.net/ > > |