Re: How to delete a Python package

2006-07-13 Thread zarrg
Nick Vatamaniuc wrote: > Skip, > I agree. Some kind of a manifest or log file would be great and > probably not that hard to implement. > Nick What's wrong with the "record" option of install: python setup.py install --record installed_files Then it's pretty easy to do: rm -rf `cat installe

Re: How to delete a Python package

2006-07-13 Thread Nick Craig-Wood
Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2006-07-12, Nick Vatamaniuc <[EMAIL PROTECTED]> wrote: > > As a rule, if you use a Linux distribution, you should just install > > the package and then remove the package using the package manager. > > That's fine except a lot of python packages are

Re: How to delete a Python package

2006-07-12 Thread Nick Vatamaniuc
Skip, I agree. Some kind of a manifest or log file would be great and probably not that hard to implement. Nick [EMAIL PROTECTED] wrote: > Nick> Uninstall support is hard, you would turn distutils (setup.py) > Nick> into a package management system, but wait...! there are already > Nick>

Re: How to delete a Python package

2006-07-12 Thread Jack
I'd second Skip's point. Now that setup.py does install, and it knows what to uninstall (because it copied the files in the first place) I think it's a good idea to have "setup.py uninstall" support. :) <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >Nick> Uninstall support i

Re: How to delete a Python package

2006-07-12 Thread skip
Nick> Uninstall support is hard, you would turn distutils (setup.py) Nick> into a package management system, but wait...! there are already Nick> package managers that do exactly that (rpm, deb, Windows Nick> Installer). Note that I don't really care about uninstall support, cert

Re: How to delete a Python package

2006-07-12 Thread Nick Vatamaniuc
Skip, Uninstall support is hard, you would turn distutils (setup.py) into a package management system, but wait...! there are already package managers that do exactly that (rpm, deb, Windows Installer). If no distro installer package is available for your Python module -- build it yourself and w

Re: How to delete a Python package

2006-07-12 Thread skip
>> As a rule, if you use a Linux distribution, you should just install >> the package and then remove the package using the package manager. Grant> That's fine except a lot of python packages aren't available in Grant> any of the various Linux distro package formats. And one or t

Re: How to delete a Python package

2006-07-12 Thread Grant Edwards
On 2006-07-12, Nick Vatamaniuc <[EMAIL PROTECTED]> wrote: >> Installing a Python package is easy, most of time just >> "Setup.py install" However, setup.py doesn't seem to support >> an uninstall command. If I want to delete a package that I >> do not use any more, should I just manually delete th

Re: How to delete a Python package

2006-07-12 Thread Nick Vatamaniuc
Jack, As a rule, if you use a Linux distribution, you should just install the package and then remove the package using the package manager. Distutils uninstallation is not supported. Of course you could manually delete the directory in site-packages in most, but not all (!) cases, that should re

How to delete a Python package

2006-07-12 Thread Jack
Installing a Python package is easy, most of time just "Setup.py install" However, setup.py doesn't seem to support an uninstall command. If I want to delete a package that I do not use any more, should I just manually delete the corresponding sub directory under Lib\site-packages? -- http://ma