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

M.-A. Lemburg mal at egenix.com
Mon Oct 25 10:46:01 CEST 2004


Ronald Oussoren wrote:
> 
> On 23-okt-04, at 19:32, M.-A. Lemburg wrote:
> 
>> 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".
> 
> 
> He means that ${prefix} is in a part of the filesystem that is claimed 
> by the OS vendor (Apple). Apple could wipe that part of the file system 
> and recreate it when you install an OS patch.
 >
> Apple has make special arrangements to move site-packages outside of 
> "their" part of the filesystem: site-packages is in /Library/Python/2.3, 
> which is "owned" by the system administrator.

Thanks for the explanation. This makes things a lot easier
to understand :-)

Perhaps we should make the site-packages dir a standard place
for site-wide Python configuration files ?!

(the current scheme for distutils.cfg is more than odd, IMHO)

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Oct 25 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