[Distutils] [issue28] Error message is confusing if you accidentally try to instal a directory
Ian Bicking
setuptools at bugs.python.org
Mon Jul 28 03:29:24 CEST 2008
New submission from Ian Bicking <ianb at 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 at colorstudy.com
priority: bug
status: unread
title: Error message is confusing if you accidentally try to instal a directory
_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue28>
_______________________________________________
More information about the Distutils-SIG
mailing list