[Distutils] [setuptools] setup.py develop inaccurate error message?
Phillip J. Eby
pje at telecommunity.com
Sun Dec 18 02:02:38 CET 2005
At 01:03 AM 12/18/2005 +0000, John J Lee wrote:
>However, the ClientForm egg did in fact get installed and does indeed
>contain revision 21160. So, why the error message?
>Adding ClientForm 0.2.2.dev-r21160 to easy-install.pth file
>error: Could not find required distribution ClientForm==dev,>=0.2.2-r21160
0.2.2.dev-r21160 was installed, but your requirement was for 0.2.2-r21160.
The installed version is r21160 of an in-development pre-release of 0.2.2,
while your requirement is for an r21160 *post*-release patch of 0.2.2.
In other words, the error is due to a typo in your requirement.
With respect to the idea of doing SVN updates of dependencies (as opposed
to doing fresh checkouts and egg builds), it's an interesting idea but it
seems like the implementation would be complex, to say the least. A key
issue is that .egg-link files don't have any way to point to their
project's setup script. But I'll give it some thought for when I start
work on 0.7, which will be refactoring some internals of the
requirement/resolution system anyway. Maybe there will be a way to work
something in then.
More information about the Distutils-SIG