Hoffmania wrote:
> Same problem, now I get this:
> Harpua:~ matthoffman$ sudo easy_install.py -f
> http://www.turbogears.org/download/index.html --script-dir
> /usr/local/bin TurboGears
> Reading http://www.turbogears.org/download/index.html
> Processing TurboGears
> error: Couldn't find a setup script in TurboGears

When you get "Couldn't find a setup script in TurboGears", it means
that you are running in a directory that has a subdirectory called
'TurboGears'.  Don't do that, because EasyInstall sees that you asked
for TurboGears, and it sees there's a TurboGears directory, so it tries
to install that.  Unless the directory is a TurboGears *source*
checkout, it's not going to work.

Change to a different directory, or get rid of the TurboGears
subdirectory!

Note, by the way, that OS X has a case-insensitive filesystem, so the
directory could be called 'turbogears' and it would have the same
problem.

If you're running in a TurboGears checkout with a setup.py present, do
this instead:

   sudo easy_install -f http://www.turbogears.org/download/index.html
--script-dir /usr/local/bin .

Notice that there's a '.' instead of TurboGears - we're telling it to
install this directory, not a subdirectory.

Reply via email to