Skip to content

Improvements to generate.py

This MR implements some improvements to generate.py, which simplify the spec for the metapackage YAML files.

  1. The following keys have been renamed to be more intuitive:

    Old name New name
    desc_short summary
    desc_long description
    package_name name
  2. The code was restructured in a few places to make it more modular, and easier to maintain

  3. 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 that yamllint would complain loudly in that situation.

Merge request reports