Routes 1.7.1 and zc.buildout

86 views
Skip to first unread message

Matthew Scott

unread,
Jan 7, 2008, 12:06:40 AM1/7/08
to pylons-discuss
I'm trying to get Routes 1.7.1 and zc.buildout to cooperate, but
here's where it gets hung up:

File "setup.py", line 1, in <module>
try:
ImportError: No module named ez_setup
[...]
Error: Couldn't install: Routes 1.7.1

I used "easy_install -eb. Routes==1.7.1" to see what that came up
with, and indeed, the setup.py in the tarball that it grabs refers to
ez_setup, which doesn't exist in the tarball.

I got around it for now by manually creating a Python 2.5 egg for
Routes and including it in my "eggs" directory in my buildout. It'd
be nice to have a "cleaner" solution though. :)

Any ideas?

Thanks!

- Matt

Mike Orr

unread,
Jan 7, 2008, 12:47:58 AM1/7/08
to pylons-...@googlegroups.com
On Jan 6, 2008 9:06 PM, Matthew Scott <gldn...@gmail.com> wrote:
>
> I'm trying to get Routes 1.7.1 and zc.buildout to cooperate, but
> here's where it gets hung up:
>
> File "setup.py", line 1, in <module>
> try:
> ImportError: No module named ez_setup
> [...]
> Error: Couldn't install: Routes 1.7.1
>
> I used "easy_install -eb. Routes==1.7.1" to see what that came up
> with, and indeed, the setup.py in the tarball that it grabs refers to
> ez_setup, which doesn't exist in the tarball.

I've had the same problem with Routes-dev. Comment out the ez_setup
and use_setuptools lines at the top of setup.py:

#from ez_setup import use_setuptools
#use_setuptools()
from setuptools import setup, find_packages

Since you already have setuptools, you don't need to install it.

There's a TRAC ticket for this.
http://pylonshq.com/project/pylonshq/ticket/351

--
Mike Orr <slugg...@gmail.com>

Matthew Scott

unread,
Jan 7, 2008, 5:48:03 PM1/7/08
to pylons-discuss
On Jan 6, 9:47 pm, "Mike Orr" <sluggos...@gmail.com> wrote:
> There's a TRAC ticket for this.http://pylonshq.com/project/pylonshq/ticket/351

Thanks, I'll keep an eye on that ticket.
Reply all
Reply to author
Forward
0 new messages