Binary generation with distutils? (Freeze, py2exe, etc.)

Magnus Lie Hetland mlh at vier.idi.ntnu.no
Wed Mar 20 22:50:28 EST 2002


In article <m3u1rb921x.fsf at mira.informatik.hu-berlin.de>, Martin v.
Loewis wrote:
>mlh at vier.idi.ntnu.no (Magnus Lie Hetland) writes:
>
>> - Magnus (who also is a bit baffled as to why distutils doesn't
>> include an "uninstall" command, such as the one implemented by
>> Thomas Heller.)
>
>That is not true. Both bdist_rpm and bdist_wininst do provide
>uninstallation support.

What I said was 'an "uninstall" command', which has nothing to do with
building packages or installers for other systems (such as RPM). I'm
talking about being able to do

  python setup.py install

and then later

  python setup.py uninstall

Assuming that the same script was used for installation, it seems that
Thomas's command (which he refers to as a hack ;) works quite
nicely... But I guess it might not be robust enough.

>Regards,
>Martin
>

--
Magnus Lie Hetland                                  The Anygui Project
http://hetland.org                                  http://anygui.org



More information about the Python-list mailing list