Author tarek
Recipients barry, lemburg, pitrou, r.david.murray, tarek
Date 2009-10-24.12:56:42
SpamBayes Score 1.23844e-10
Marked as misclassified No
Message-id <1256389004.69.0.605824329718.issue7175@psf.upfronthosting.co.za>
In-reply-to
Content
The subversion system looks pretty nice !

So here's a modified proposal that covers the python version as well.

= per user configuration files = 

 ~/.pythonMAJOR.MINOR

Examples:

~/.python2.7
~/.python3.1

On Windows, ~ will be replaced by APPDATA if founded in the environment.
 
== global configuration files ==


On Linux/Mac:

/etc/pythonMAJOR.MINOR

examples:

/etc/python2.7/
/etc/python3.1/

On Windows:

\All users\Application Data\PythonMAJORMINOR

(\All users\Application Data is specified by the Windows Registry)

examples:

\All users\Application Data\Python26
\All users\Application Data\Python31

== standard naming for configuration files ==

The files are all named "NAME.cfg", in all platforms.

== what gets in per-user configuration directory ==

- pypi.cfg
- distutils.cfg

== what gets in global configuration directory ==

- distutils.cfg

== apis added ==

in site.py:

- getuserconfig() : returns the per-user configuration directory
- getconfig(): returns the global configuration directory

(the names are following site.py naming style)
History
Date User Action Args
2009-10-24 12:56:45tareksetrecipients: + tarek, lemburg, barry, pitrou, r.david.murray
2009-10-24 12:56:44tareksetmessageid: <1256389004.69.0.605824329718.issue7175@psf.upfronthosting.co.za>
2009-10-24 12:56:43tareklinkissue7175 messages
2009-10-24 12:56:42tarekcreate