Mailing List Archive

[issue4673] Distutils should provide an uninstall command
philobyte <Peter.A.Silva@gmail.com> added the comment:

python setup.py uninstall
should do all the same processing as 'install' but whenever it gets to
the point of copying a file to a system destination, it should instead
unlink the destination.

besides the obvious use, here is another one:
when upgrading a package, and the new version no longer includes
certain files, just installing the new version will leave leftovers
of the previous version installed. using uninstall beforehand will
clean out the cruft.

----------
nosy: +philobyte

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue4673] Distutils should provide an uninstall command [ In reply to ]
Tarek Ziadé <ziade.tarek@gmail.com> added the comment:

philobyte, this means you have to keep the source somewhere to be able
to run setup.py uninstall. This is not handy imho.

What about a uninstall registery in Python that keeps track of the files
installed for each package ? this would let us have an uninstall command
that could run on its own.

"uninstall packagename"

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue4673] Distutils should provide an uninstall command [ In reply to ]
Andy Buckley <andy@insectnation.org> added the comment:

If an uninstall registry is feasible, the it could be neat. The
suggested behaviour of unlinking known files based on the source
directory is not all that inconvenient: it's by no means perfect, but it
has its uses and is familiar to many, since it is how GNU autotools behaves.

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue4673] Distutils should provide an uninstall command [ In reply to ]
Tarek Ziadé <ziade.tarek@gmail.com> added the comment:

I will continue to discuss this in distutils-SIG:

Marc-André Lemburg proposed me to introduce the uninstall command from
mxSetup.py (from mxBase, http://www.egenix.com/products/python/mxBase/)

So I need to ask for opinions first

----------
assignee: -> tarek

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue4673] Distutils should provide an uninstall command [ In reply to ]
Changes by Giampaolo Rodola' <billiejoex@users.sourceforge.net>:


----------
nosy: +giampaolo.rodola

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com