|
From: Andre W. <wo...@us...> - 2004-04-20 09:17:31
|
Hi, On 20.04.04, Joerg Lehmann wrote: > Ok, but then we should include a comment in the siteconfig.py file > indicating that this file is ignored when PyX is being installed. Fine, I'll do that. > > What do you think about adding a flag to setup.cfg, where we enable > > the global pyxrc (this includes copying the pyxrc to the appropriate > > position) and denote the path of the global configuration in > > siteconfig.py (otherwise we could set this variable in siteconfig.py > > to None). I don't know whether its a good idea to make a global pyxrc > > an install option (I've never seen such a behaviour before). > > IMHO there is no reason for making this configurable. We should always > install a global pyxrc file in the appropriate directory. The only open > question is how to obtain this directory from distutils... Ok, so lets modify setup.py to always install the global pyxrc. You can get "/etc" from distutils somehow (and you can set it to a different location like with "--home=..." or even within the setup.cfg). I'll take a look at it and do an implementation together with an enhancement of siteconfig.py. André -- by _ _ _ Dr. André Wobst / \ \ / ) wo...@us..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX (_/ \_)_/\_/ visit http://pyx.sourceforge.net/ |