At 09:41 PM 8/9/2005 +0200, Vincenzo Di Massa wrote: >I just checked out the new version but... > >[EMAIL PROTECTED]:~/tmp/setuptools/python-setuptools-0.6a1$ python ez_setup.py >-d >../tmp graph
Okay, I figured out why I can't reproduce this; when working from the CVS version you need to use "setup.py develop" or "setup.py install" or even "setup.py egg_info" or "setup.py test" in order to *build& setuptools before attempting to use it. Otherwise you don't have a PKG-INFO file, and thus don't have a valid egg yet. I'll have to update the documentation to reflect that necessary step. >Traceback (most recent call last): > File "ez_setup.py", line 163, in ? > main(sys.argv[1:]) > File "ez_setup.py", line 147, in main > pkg_resources.require(req) > File > "/mnt/disk2/5/hawk/tmp/setuptools/python-setuptools-0.6a1/pkg_resources.py", > line 503, in require > needed = self.resolve(parse_requirements(requirements)) > File > "/mnt/disk2/5/hawk/tmp/setuptools/python-setuptools-0.6a1/pkg_resources.py", > line 480, in resolve > dist = best[req.key] = env.best_match(req, self, installer) > File > "/mnt/disk2/5/hawk/tmp/setuptools/python-setuptools-0.6a1/pkg_resources.py", > line 638, in best_match > dist = working_set.find(req) > File > "/mnt/disk2/5/hawk/tmp/setuptools/python-setuptools-0.6a1/pkg_resources.py", > line 381, in find > if dist is not None and dist not in req: > File > "/mnt/disk2/5/hawk/tmp/setuptools/python-setuptools-0.6a1/pkg_resources.py", > line 2040, in __contains__ > item = item.parsed_version > File > "/mnt/disk2/5/hawk/tmp/setuptools/python-setuptools-0.6a1/pkg_resources.py", > line 1874, in __getattr__ > return getattr(self._provider, attr) >AttributeError: PathMetadata instance has no attribute 'parsed_version' _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
