I commonly encounter a problem where a person creates a directory with a name,
then tries to install a package with the same name as the directory.
easy_install then things they were referring to the directory name. For instance:
$ mkdir Pylons
$ mkdir Pylons/src/MyProject # etc...
$ easy_install Pylons
Processing Pylons
error: couldn't find a setup script in Pylons
I think the error message could just be changed, first to make sure the
directory ends with os.path.sep and then saying "error: couldn't find a setup
script in the directory Pylons/" -- with that error message most people would
figure out the problem quickly.
|