[Distutils] environment markers in setup.cfg -- vs ;

Daniel Holth dholth at gmail.com
Thu Sep 20 03:26:09 CEST 2012


I am implementing requirements-in-setup.cfg for wheel because there is
no place to put environment markers in setup.py

The Requires-Dist: lines in PKG-INFO use ; to separate environment
markers from the dep name. Is setup.cfg supposed to use -- ? Why?

requires-dist = keyring; python_version == '2.6'

versus

requires-dist = keyring -- python_version == '2.6'


Do I correctly recall an earlier syntax that used longer section names
as a place to store environment markers?

[foo; marker]


Thanks,

Daniel Holth


More information about the Distutils-SIG mailing list