[issue28] Error message is confusing if you accidentally try to instal a directory
New submission from Ian Bicking email@example.com:
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.
---------- messages: 63 nosy: firstname.lastname@example.org priority: bug status: unread title: Error message is confusing if you accidentally try to instal a directory
_______________________________________________ Setuptools tracker email@example.com http://bugs.python.org/setuptools/issue28 _______________________________________________