[Distutils] Extending distutils with 3rd party build commands?

M.-A. Lemburg mal at egenix.com
Sat Oct 23 19:32:53 CEST 2004

Bob Ippolito wrote:
> On Oct 23, 2004, at 5:20, M.-A. Lemburg wrote:
>> Fred L. Drake, Jr. wrote:
>>> On Friday 22 October 2004 06:23 pm, Bob Ippolito wrote:
>>>  > I need an editable file in a system-wide directory such as
>>>  > site-packages that isn't "owned" by the Python installation.
>> This already exists in the form of:
>>     """
>>         There are three possible config files: distutils.cfg in the
>>         Distutils installation directory (ie. where the top-level
>>         Distutils __inst__.py file lives), a file in the user's home
>>         directory named .pydistutils.cfg on Unix and pydistutils.cfg
>>         on Windows/Mac, and setup.cfg in the current directory.
>>         """
> None of those fit the bill.  The distutils package is owned by the 
> Python installation, files in user directories or the current directory 
> are not system-wide.

I don't know what you mean by "owned".

If you'd rather have
the distutils.cfg file live in /etc/ why not create it there
and add a symbolic link to the Python site-packages dir ?!

Note that Python itself will never ship with a distutils.cfg

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Oct 23 2004)
 >>> 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 mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::

More information about the Distutils-SIG mailing list