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

Thomas Heller theller at python.net
Thu Mar 21 02:49:38 EST 2002


"Magnus Lie Hetland" <mlh at vier.idi.ntnu.no> wrote in message news:slrna9im44.6ii.mlh at vier.idi.ntnu.no...
> 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.

I've thought a little bit more about this. IMO PEP 262 (database of
installed packages) should be implemented, so that the database
is updated by distutil's install command - then we can write a
robust uninstall.

Thomas





More information about the Python-list mailing list