|
From: Joerg L. <jo...@us...> - 2004-04-20 09:03:30
|
Hi,
On 20.04.04, Andre Wobst wrote:
> First I thought (as well), that we would need that for our CVS
> developer version only. But you may download the distribution and use
> PyX without any install (you may add the PyX base directory to the
> PYTHONPATH or just run python in the base directory). Then you want
> our developer behaviour as well (otherwise we could just skip the
> distribution of siteconfig.py). I think it's fine -- its just an
> additional feature, that we can run PyX without any setup. Of course,
> we could do that path adjustment outside of siteconfig.py as well
> instead of replacing siteconfig.py. It would blow up the code, where
> we access the siteconfig, and thats actually worse to my eyes.
Ok, but then we should include a comment in the siteconfig.py file
indicating that this file is ignored when PyX is being installed.
> Another issue is, that the lfs lives in a different directory than
> other shared material (pyx.def, textboxes.tex in the future -- which
> are distributed in contrib). Currently I've just left everything as it
> is. I'm not sure whether its worth any thoughts at all. In principal,
> the shared data material is different from other things we might
> distribute in contrib in the future (like a dvips.py).
Sure, we have to think about the locations for these files at some
point.
> 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...
Joerg
--
JOERG LEHMANN | PyX - High quality PostScript figures with Python & TeX
jo...@lu... | Visit http://pyx.sourceforge.net/
|