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

Tarek Ziadé ziade.tarek at gmail.com
Tue Jan 26 19:32:44 CET 2010


On Tue, Jan 26, 2010 at 7:12 PM, M.-A. Lemburg <mal at egenix.com> wrote:
> Hi Tarek,
>
> I noticed that you have removed get_platform from the distutils.util
> module. This will break a lot of setup.py code out there.
>
> Please add a
>
>        from sysconfig import get_platform
>
> to the distutils.util module to restore compatibility.
>
> Also note that a lot of setup.py code does monkey patching of
> get_platform() to fix certain inefficiencies of its implementation,
> so I'm not sure whether changing the distutils imports to load
> it directly from sysconfig will really do good.

That's one of the reason why I kept the API and I've added a
deprecation warning at first, but then you suggested in python-dev
that I should remove them and just document the fact that the API was
relocated.

I can put it back like I've first did it

Tarek

-- 
Tarek Ziadé | http://ziade.org


More information about the Python-checkins mailing list