http://slackbuilds.org/repository/13.37/office/nts/
Jostein
If you have a slackware installation, you can as root do "removepkg nts" and then
"sbopkg -i nts" to install this optimimized package.
Jostein
For listing installed python packages you can install yolk:
easy_install yolk
and then:
yolk -l
You can then remove the nts packages with:
easy_install -mcN [PACKAGE]
and:
rm -rf .../python2.X/site-packages/[PACKAGE].egg
http://peak.telecommunity.com/DevCenter/EasyInstall#uninstalling-packages
If you use the pip manager instead, this includes an uninstall command.
On your slackware system it's better to use sbopkg, slackpkg and installpkg to install
packages so they are installed correctly in the slack file structure.
Jostein
"nts - 78 - active "
"vector://home/johwhi
root:# easy_install -mcN nts
usage: easy_install [options] requirement_or_url ...
or: easy_install --help
error: option -c not recognized
vector://home/johwhi"
You can try with just the -m option.
Jostein
vector://home/johwhi
root:# easy_install -m nts
Searching for nts
Best match: nts 78
Processing nts-78-py2.7.egg
Removing nts 78 from easy-install.pth file
Installing n.py script to /usr/bin
Installing n.pyw script to /usr/bin
Using /usr/lib/python2.7/site-packages/nts-78-py2.7.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("nts") # latest installed version
pkg_resources.require("nts==78") # this exact version
pkg_resources.require("nts>=78") # this version or higher
Processing dependencies for nts
Finished processing dependencies for nts
vector://home/johwhi
You should remove the egg file as well:
rm -rf .../python2.X/site-packages/[PACKAGE].egg
After that you can install the SlackBuild package.
Jostein
There is also a script here that can remove outdated egg files:
http://ubuntuforums.org/showthread.php?t=666698
Jostein
$