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

Tres Seaver tseaver at palladion.com
Fri Dec 26 23:22:52 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/25/2014 10:21 PM, William Zhang wrote:
> Hello Can zc.buildout use same comparison operator for  versions as
> setup.py?
> 
> *buildout* It use "show-picked-versions" for  print verison 
> https://pypi.python.org/pypi/zc.buildout/2.3.1#easier-reporting-and-managing-of-versions-new-in-buildout-2-0
>
>  [versions] buildout-versions = 1.2 setuptools = 0.6c11 zc.buildout =
> 1.5.0
> 
> *setup.py* It use install_requires for handle package's version 
> https://docs.python.org/2/distutils/setupscript.html#relationships-between-distributions-and-packages
>
>  install_requires=[ 'django == 1.4', 'South == 0.7.5', ]
> 
> Is there any way for "show-picked-versions" print version be used by 
> setup.py install_requires?

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.).


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlSd37wACgkQ+gerLs4ltQ7x7gCePOrTgsoB6fn3kVw7Vlto4t9e
WtMAoKUCK4IVnNjZBaaPhvy7u6C3nIfD
=26gz
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list