Re: How to delete a Python package



Grant Edwards <grante@xxxxxxxx> wrote:
On 2006-07-12, Nick Vatamaniuc <vatamane@xxxxxxxxx> 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 aren't available in
any of the various Linux distro package formats.

distutils has a build rpm option which works, eg

python setup.py bdist_rpm

I usually run debian systems, so I then run alien on the resulting rpm
to turn it into a .deb.

I always install python packages like this - it has worked every time
so far!

--
Nick Craig-Wood <nick@xxxxxxxxxxxxxx> -- http://www.craig-wood.com/nick
.



Relevant Pages

  • Re: How do I manually uninstall setuptools (installed by egg)?
    ... setuptools has more Python packages/programs available ... It's also likely that some of the Debian Python packages are installed ... Setuptools is certainly not the right way to install packages ... all the files that did get installed into a package. ...
    (comp.lang.python)
  • Re: How do I manually uninstall setuptools (installed by egg)?
    ... setuptools has more Python packages/programs available ... It's also likely that some of the Debian Python packages are installed ... Setuptools is certainly not the right way to install packages ... all the files that did get installed into a package. ...
    (comp.lang.python)
  • Re: Installing certain Python Packages fails
    ... Every attempt to install certain Python packages ends badly with the ... Ubuntu Help and User Discussions Ubuntu ... It seems some package is having some test file there. ...
    (Ubuntu)
  • Re: How do I manually uninstall setuptools (installed by egg)?
    ... setuptools has more Python packages/programs available ... It's also likely that some of the Debian Python packages are installed ... Setuptools is certainly not the right way to install packages ... all the files that did get installed into a package. ...
    (comp.lang.python)
  • Re: A real package manager in action
    ... It's already more hard work for the user than a package manager ... resource is missing it sets a flag in a system variable. ... You are now adding in a whle load extra manual installation work ...
    (comp.sys.acorn.apps)