Le 15/02/02 ? 17:11, Thomas Heller écrivit:
> From: "Suchandra Thapa" <s-t...@al...>
> > On Fri, Feb 15, 2002 at 11:38:01AM +0100, Thomas Heller wrote:
> > > Sounds great!
> > > Are you going to use the CVS repository on SF again, or do you only
> > > use SF to release the distribution?
> >
> > I primarily use SF for releases and keep the code on a CVS repository
> > on my local machine.
>
> Don't you think ciphon would improve faster with collaborative development?
>
> > I did have a question for you regarding windows. Currently ciphon
> > keeps its' settings in the user's home directory on windows is there
> > any particular location to place this information or could I just use
> > something like Program Files/Ciphon/?
> Well, as numerous threads on c.l.p show, there is no real 'home
> directory' on windows. Why don't you install ciphon with distutils,
> where the top-level script would go into the python Scripts directory,
> and you could also store the configuration there. The problem with
> 'Program Files'\Ciphon is that this directory also depends on the
> windows version/language/maybe other stuff. To be sure, this
> directory has to be retrieved from the registry or with a win32 API
> call. For example, in german versions of windows this directory is
> named 'Programme'.
A simple solution would be to make the directory overridable by an
environment variable, like CIPHON_HOME, if it exists, use it, else use
HOME, else fail.
Gerhard
--
This sig powered by Python!
Außentemperatur in München: 1.9 °C Wind: 1.9 m/s
|