Sun Nov 5 17:26:24 2006
Ticket #102 (assigned)
Nose frontpage installation instructions in error
| Priority: | low | Reporter: | stephen@thorne.id.au |
|---|---|---|---|
| Severity: | minor | Assigned to: | jpellerin (accepted) |
| Component: | nose | Status: | assigned |
| Version: | 0.9.1 | Resolution: | |
| Milestone: | 0.9.2 | Keywords: |
Description by stephen@thorne.id.au:
These instructions are wrong:
Install nose using setuptools: easy_install nose Or, if you don't have setuptools installed, use the download link at right to download the source package, and install in the normal fashion: Ungzip and untar the source package, cd to the new directory, and: python setup.py install
You cannot run python setup.py install without setup_tools upgraded to at least the version that nose is configured to work with, as per this error message:
$ sudo python setup.py install ~/src/nose-0.9.1 The required version of setuptools (>=0.6c2) is not available, and can't be installed while this script is running. Please install a more recent version first. (Currently using setuptools 0.6c1 (/usr/lib/python2.4/site-packages/setuptools-0.6c1-py2.4.egg)) zsh: 32149 exit 2 sudo python setup.py install
I recommend ammending the instructions to say
python ez_setup.py python setup.py install
and note that the installation will cause easy_install to be installed. Perhaps a link to ez_setup.py would be good too.
Changelog
Tue Nov 7 09:29:05 2006: Modified by jpellerin
- milestone set to 0.9.2
- priority changed from normal to low
- severity changed from major to minor
- version set to 0.9.1
- status changed from new to assigned

This is a normal (though annoying) setuptools problem. It doesn't affect everyone, and the error message from setuptools gives the correct instructions for those who are affected. I wish setuptools could be smarter about self-updating and the requirements listed in ez_setup, but it's out of my control. So for nose, this is really just a minor documentation issue, in that the instructions are missing an explicit recipe for on case (you have setuptools but it's an older version).