trial2 - add non-empty Cargo.toml
{% set name = "weblogo" %}
{% set version = "3.7.8" %}
+{% set license = "MIT" %}
+{% set license_file = "LICENSE.txt" %}
package:
@@ -18,6 +20,9 @@ build:
- transformseq = weblogo._transformseq:main
script:
- touch Cargo.toml # [not win]
+ - echo -e '[package]\nname = "{{ name|lower }}"\nversion = "{{ version }}"\n' >> Cargo.toml
+ - echo -e 'license = {{ license }}\nlicense-file = {{ license_file }}\n' >> Cargo.toml
+ - cat Cargo.toml
- cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
- {{ PYTHON }} -m pip install . -vv
