[issue28] Error message is confusing if you accidentally try to instal a directory
![](https://secure.gravatar.com/avatar/b6b8d66de135cfb887e5e02b543cf3d7.jpg?s=120&d=mm&r=g)
New submission from Ian Bicking <ianb@colorstudy.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: ianb@colorstudy.com priority: bug status: unread title: Error message is confusing if you accidentally try to instal a directory _______________________________________________ Setuptools tracker <setuptools@bugs.python.org> <http://bugs.python.org/setuptools/issue28> _______________________________________________
participants (1)
-
Ian Bicking