[Distutils] Can zc.buildout use same comparison operator for versions as setup.py

Jim Fulton jim at zope.com
Sun Dec 28 16:25:53 CET 2014


On Thu, Dec 25, 2014 at 10:21 PM, William Zhang <jollychang at gmail.com> wrote:
> Hello
> Can zc.buildout use same comparison operator for  versions as  setup.py?

No. They do technically allow limited ranges, but the primary purpose
is to set/pin/nail specific versions. Fred did a good job of
explaining this.

...

Why do you ask?

> Is there any way for "show-picked-versions" print version be used by
> setup.py install_requires?

If you run buildout in verbose mode (-v), it will will give an
indication of why it's trying to get a particular requirement.  Note
that requirements can come from a variety of places, including
setup.py, the versions section, and requirements stated in egg and
similar parts.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton


More information about the Distutils-SIG mailing list