Current setup.py assumes (1) that setuptools has not been installed, and (2)
that ez_setup.py is present in the PYTHONPATH.
{{{
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
}}}
Otherwise, it dies with
{{{
Traceback (most recent call last):
File "setup.py", line 3, in <module>
from ez_setup import use_setuptools
ImportError: No module named ez_setup
}}}
Either ez_setup.py should be included in the top-level directory alongside
setup.py, or setup.py should check for setuptools the way pylons' setup.pydoes.
Patch for setup.py included to implement the second option.
This one is really straightforward, so I tried to file it under trac, but I
got
Submission rejected as potential spam
Thanks,
--
- Catherine
http://catherinedevlin.blogspot.com/
*** PyCon 2008 * Chicago * March 13-20 * us.pycon.org ***
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---
3,4c3,8
< from ez_setup import use_setuptools
< use_setuptools()
---
> try:
> from setuptools import setup, find_packages
> except ImportError:
> from ez_setup import use_setuptools
> use_setuptools()
> from setuptools import setup, find_packages
6d9
< from setuptools import setup, find_packages