Improvements to generate.py
This MR implements some improvements to generate.py
, which simplify the spec for the metapackage YAML files.
-
The following keys have been renamed to be more intuitive:
Old name New name desc_short
summary
desc_long
description
package_name
name
-
The code was restructured in a few places to make it more modular, and easier to maintain
-
Support for conda-style selectors was implemented (closes #38 (closed)) to simplify specifying distribution-specific dependencies, tests, etc
With this implementation, the YAML file is reparsed for each distribution, using the
select_lines
helper from conda-build, so duplicate keys are technically allowed (e.g. one per distribution), but I have a hunch thatyamllint
would complain loudly in that situation.