How to delete a Python package

Nick Craig-Wood nick at craig-wood.com
Thu Jul 13 06:30:03 EDT 2006


Grant Edwards <grante at visi.com> wrote:
>  On 2006-07-12, Nick Vatamaniuc <vatamane at gmail.com> 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 at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list