Add licenses of bundled deps to nutpie
@@ -12,14 +12,16 @@ source:
build:
number: 0
skip: True # [py<38]
- script: |
- maturin build --bindings pyo3 --no-sdist --release --interpreter {{ PYTHON }} --out wheels
- {{ PYTHON }} -m pip install -vv --no-build-isolation --no-deps --no-index --find-links ./wheels nutpie
+ script:
+ - cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
+ - maturin build --bindings pyo3 --no-sdist --release --interpreter {{ PYTHON }} --out wheels
+ - {{ PYTHON }} -m pip install -vv --no-build-isolation --no-deps --no-index --find-links ./wheels nutpie
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('rust') }}
+ - cargo-bundle-licenses
host:
- python
- setuptools
@@ -52,7 +54,9 @@ about:
for posterior distributions, with an easy to use interface.
license: MIT
license_family: MIT
- license_file: LICENSE
+ license_file:
+ - LICENSE
+ - THIRDPARTY.yml
extra:
recipe-maintainers:
