[Distutils] Can zc.buildout use same comparison operator for versions as setup.py
Fred Drake
fred at fdrake.net
Sat Dec 27 02:07:20 CET 2014
On Fri, Dec 26, 2014 at 5:22 PM, Tres Seaver <tseaver at palladion.com> wrote:
> zc.buildout uses a configparser/ConfigParser-based config file, which
> mandates the single equal sign. It also doesn't support ranges or other
> (new) PEP 440 syntax for versions ('~=', etc.).
It may be worth noting the intent of specifying versions in a buildout
config and a version constraint for a software package in setup.py is
different.
Constraints in setup.py are intended to specify what versions a
package is compatible with; they're about the code in the package.
Versions in a buildout config (sometimes called "nails") are about
getting a repeatable build: *this* build should use exactly *this*
version.
I hope that helps.
-Fred
--
Fred L. Drake, Jr. <fred at fdrake.net>
"A storm broke loose in my mind." --Albert Einstein
More information about the Distutils-SIG
mailing list