On Wed, 14 Oct 2009 20:47:32 +0900, David Cournapeau

> The good news is that there are existing tools in other environments
> which do this in a pretty good way already, so we could steal their idea
> and just reimplement the thing for python. This problem space has seen a
> lot of new ideas since distutils was implemented ten years ago (and we
> can learn from distutils mistakes).

Distutils still implements some of it's file copy operations well.

We're not talking about too much more than a file copy and run script
api.

> I still like the idea of reusing the same format as .cabal files (see
> here:
>
-http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html).
> It does everything you want to do with .cfg files, with the advantage of
> being proven for real softwares and more complete. The use of ini-like
> files with conditional in sections really feels like an ugly and
> inflexible hack for a new system, I am not sure I understand why you
> want to use them for a brand-new system where backward compatibility
> with setup.cfg isn't a concern ?

I'm really not hung up on .ini style files and am agnostic about
the format.

It's only from experience I know that they can hold any nearly type of 
textual data, and work equally on linux and windows. ConfigParser is
in every python version that I know of.

Tell me where I find a built in API in python for this other format
so we can look at it? No harm in looking at it.

David




_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to