Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support requirements that depend not not on only a range of different versions, but also a range of different packages.
Useful for e.g. Qt.py which requires
However, it dawned on me that this can also solve nerdvegas#21 which would be great, and could potentially squat two flies with one stone.
rez env six python [pyqt4 pyqt5]
requires = [ "pyyaml-2.4", "six-1.1", ["PySide-1.2, "PyQt4-4.7", "PyQt5", "PySide2"], ]
Where the first package found is picked.
As an added bonus, we'll also (finally) be able to account for nerdvegas#21 by adding a
requires = [ ["", "packageA-1.2"] ]