[Python-checkins] r77756 - in python/trunk/Lib/distutils: command/bdist_msi.py tests/test_bdist_msi.py

M.-A. Lemburg mal at egenix.com
Wed Jan 27 21:23:43 CET 2010


Tarek Ziadé wrote:
> On Wed, Jan 27, 2010 at 8:37 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>> Tarek Ziadé wrote:
>>> On Tue, Jan 26, 2010 at 10:35 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>>>> I'll run a few more tests of our stuff tomorrow.
>>>
>>> Ok I'll stick around in case you have a problem. I'm on IRC as well
>>
>> I ran the tests again: everything looks fine. I'll now
>> integrate the new set_platform() API into mxSetup.py.
> 
> Great ! I'll now merge everything in the Py3k branch, then work on the
> sysconfig module documentation + distutils documentation.
> 
> I'll also start the shutil work, that will lead to the removal of
> dir_util, file_util and archive_util. I'll leave the modules and add
> an import for relocated APIs

Ok.

For the archive_util, could you add an API to register new
or update existing archive formats.

We're currently using a simple dictionary update for this, but
that's not really clean:

# Register our version of make_tarball()
distutils.archive_util.ARCHIVE_FORMATS.update({
    'gztar': (mx_make_tarball, [('compression', 'gzip')], 'gzipped tar-file'),
    'bztar': (mx_make_tarball, [('compression', 'bzip2')], 'bzip2ed tar-file'),
    'ztar':  (mx_make_tarball, [('compression', 'compress')], 'compressed tar file'),
    'tar':   (mx_make_tarball, [('compression', None)], 'tar file'),
    })

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jan 27 2010)
>>> 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 Python-checkins mailing list