[Distutils] [Bulk] Re: setuptools updated in CVS

Vincenzo Di Massa hawk78_it at yahoo.it
Tue Aug 9 21:41:53 CEST 2005


I just checked out the new version but...

hawk at hawk:~/tmp/setuptools/python-setuptools-0.6a1$ python ez_setup.py -d ../tmp graph
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'


This is another machine: so the error is not caused by a python misconfiguration caused by me.

I can give you an ssh account on the machine in question if you need.

Thank you, Vincenzo.

Alle 17:52, martedì 09 agosto 2005, Phillip J. Eby ha scritto:
> At 11:53 AM 8/9/2005 +0200, Vincenzo Di Massa wrote:
> >Hi Philip,
> >using your last cvs I get this error:
> >
> >hawk at dimassa:~/stanzino/Projects/PythonModulePackaging/setuptools/setuptools-deb/cvs/python-setuptools-0.6a1$ 
> >python ez_setup.py -d ../tmp .
> 
> Unfortunately I was not able to duplicate this error, although I got a 
> different error which may be related.  I just checked in a fix to 
> pkg_resources for the other error; please let me know if it fixes your 
> problem.  By the way, if you didn't do so before, you should remove your 
> setuptools.egg-info directory and "cvs update -d" to ensure that you get 
> the correct contents of that directory.
> 
> 

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it


More information about the Distutils-SIG mailing list