[Distutils] distutils.cfg vs pydistutils.cfg
M.-A. Lemburg
mal at egenix.com
Tue Aug 4 10:57:32 CEST 2009
Tarek Ziadé wrote:
> 2009/8/4 M.-A. Lemburg <mal at egenix.com>:
>> Barry Warsaw wrote:
>>> On Aug 3, 2009, at 4:45 AM, M.-A. Lemburg wrote:
>>>
>>>> It would be nice to have a user config *directory* for all Python
>>>> config things, e.g. ~/.python/. Then it'd be natural to drop
>>>> the ".py" prefix. Without the prefix, people would have a hard time
>>>> connecting a .distutils.cfg in their home dir with Python.
>>>
>>> Python already uses ~/.local for stuff. It should go in there.
>>
>> You have a point there... we could put the user local config
>> files into ~/.local/lib/python2.6/ and then name it distutils.cfg
>> just like for the system-wide install.
>
> So in that case I suppose I have to lookup at PYTHONUSERBASE as well,
> as done on site.py.
>
> I also propose if that's the case, to add a function in site.py that
> returns USER_SITE and USER_BASE,
> so it can be used by site.addusersitepackages *and* by distutils here
+1
While you're at it, please also add a function that returns the
global site-packages dir(s).
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Aug 04 2009)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
More information about the Distutils-SIG
mailing list