On Jan 6, 2006, at 2:48 PM, Phillip J. Eby wrote: > There is nothing special about 'dev' as a version; it could be > "Pylons=any_old_version" for all easy_install knows. > > What you want is to set your install_requires= > ['Pylons==dev,>=0.1dev-r289'] instead. This tells easy_install > that if it sees a link to a 'dev' version, go ahead and install it, > but at runtime the distribution will have to match the other > version, because there is really no "dev" version. > > Which is why the trick works, basically. If you ask for ==dev *or* > >=0.1dev-r289, the latter will not be found on the Cheeseshop > (until an 0.1 final is released), but a link to the "dev" version > will. At runtime, nothing matches "dev", but it *will* match the > 0.1dev. > > Anyway, this trick could be played with any special version in > place of "dev", but that is currently the convention being used by > most people posting links to SVN versions. It's the responsibility > of the person defining the dependencies to say whether they want > development versions of their requirements.
Excellent! That did the trick perfectly. :) Btw, off topic for this thread, but I didn't see an earlier message of mine go through regarding python-openid not installing, it gets this error: ns# easy_install -U python-openid Searching for python-openid Reading http://www.python.org/pypi/python-openid/ Reading http://www.openidenabled.com/openid/libraries/python/ Reading http://www.openidenabled.com/openid/libraries/python/ downloads/python-openid-1-0-3-tar.gz/download No local packages or download links found for python-openid error: Could not find distribution for Requirement.parse('python- openid') Apparently it doesn't like Plone download links? Thanks, Ben _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
