This is a known issue with setuptools that has been fixed iirc. You need to run:
easy_install setuptools==dev (the usual caveats about sudo etc apply) Lee On 12/6/05, m h <[EMAIL PROTECTED]> wrote: > > Keep responding to myself.... > Here's the output of "python setup.py develop". Apparently it is > failing trying to parse an elementTree html page. But I already have > cElementTree installed. Is there anyway to determine that it is > already installed (and hence not install it)? > > > C:\Documents and Settings\Administrator\Desktop\matt\turbogears>python > setup.py > develop > running develop > running egg_info > writing requirements to .\TurboGears.egg-info\requires.txt > writing .\TurboGears.egg-info\PKG-INFO > writing top-level names to .\TurboGears.egg-info\top_level.txt > writing entry points to .\TurboGears.egg-info\entry_points.txt > running build_ext > Creating c:\program files\python23\lib\site-packages\TurboGears.egg-link > (link t > o .) > TurboGears 0.9a0dev-r286 is already the active version in easy-install.pth > Installing tg-admin-script.py script to C:\Program Files\Python23\Scripts > Installing tg-admin.exe script to C:\Program Files\Python23\Scripts > > Installed c:\documents and settings\administrator\desktop\matt\turbogears > Processing dependencies for TurboGears==0.9a0dev-r286 > Searching for cElementTree>=1.0.2 > Reading http://www.python.org/pypi/cElementTree/ > Reading http://www.effbot.org/zone/celementtree.htm > Reading http://effbot.org/downloads#celementtree > Best match: cElementTree 1.0.2-20050302 > Downloading > http://effbot.org/downloads/index.cgi/cElementTree-1.0.2-20050302.wi > n32-py2.3.exe?index > error: Unexpected HTML page found at > http://effbot.org/downloads/index.cgi/cElem > entTree-1.0.2-20050302.win32-py2.3.exe?index > > > On 12/6/05, m h <[EMAIL PROTECTED]> wrote: > > I went ahead and manually installed cElementTree. But I'm still > > getting the same error. > > Is easy_setup confused now since I didn't/couldn't install > > cElementTree with it? (I just started using it yesterday.) > > > > Any hints? > > > > thanks > > > > On 12/6/05, m h <[EMAIL PROTECTED]> wrote: > > > Following the documentation here > > > (http://www.turbogears.org/community/contributing.html) I checked out > > > the head of TurboGears. When trying to follow the TurboTunes (which > > > looks very cool btw), I get stuck on the first command > > > (tg-admin-script.py): > > > C:\Documents and Settings\Administrator>python "c:\Program > > > Files\Python23\Script > > > s\tg-admin-script.py" quickstart > > > Traceback (most recent call last): > > > File "c:\Program Files\Python23\Scripts\tg-admin-script.py", line 5, in ? > > > from pkg_resources import load_entry_point > > > File "c:\program > > > files\python23\lib\site-packages\setuptools-0.6a8-py2.3.egg\p > > > kg_resources.py", line 2192, in ? > > > working_set.require(__requires__) > > > File "c:\program > > > files\python23\lib\site-packages\setuptools-0.6a8-py2.3.egg\p > > > kg_resources.py", line 503, in require > > > needed = self.resolve(parse_requirements(requirements)) > > > File "c:\program > > > files\python23\lib\site-packages\setuptools-0.6a8-py2.3.egg\p > > > kg_resources.py", line 483, in resolve > > > raise DistributionNotFound(req) # XXX put more info here > > > pkg_resources.DistributionNotFound: cElementTree>=1.0.2 > > > > > > I realize I could just go install cElementTree, that's not the issue. > > > I just wanted to know if the checkout script was supposed to check out > > > all of the dependencies. Since it apparently hasn't checked out > > > cElementTree nor PasteScript. If not, then the documentation for > > > development should be updated accordingly... > > > (note I did the easy_setup of RuleDispatch as well) > > > thanks > > > > > > matt > > > > > >

