[Distutils] Building an egg from Subversion using zc.buildout
Phillip J. Eby
pje at telecommunity.com
Sat Feb 10 00:49:54 CET 2007
At 05:26 PM 2/9/2007 -0500, Jim Fulton wrote:
> > ValueError: ("Couldn't find", Requirement.parse
> > ('archetypes.kss==dev'))
>
>I finally found some time to look into this.
>
>Buildout uses setuptools APIs. It uses a PackageIndex to download
>the distribution and this actually works. It then uses an
>environment best_match method to get a distribution object and
>best_match returns None. If I remove the ==dev from the requirement,
>then best_match is able to find the distribution. This happens
>because apparently no distributions match a requirement for the "dev"
>version. Should I view this as a bug in setuptools?
The normal usage is "==dev,>=realver" where 'realver' is the real version
you want.
> Or does buildout
>need to special case the version "dev"?
I don't think so.
More information about the Distutils-SIG
mailing list