Skip to content

Commit

Permalink
list all licenses used in the rust dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Feb 24, 2021
1 parent 07353bd commit 14ee8c2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ build:
number: 1
skip: True # [py<36]
script:
# Install cargo-license
- export CARGO_HOME="$BUILD_PREFIX/cargo"
- mkdir $CARGO_HOME
- cargo install cargo-license
-
# Check that all downstream libraries licenses are present
- export PATH=$PATH:$CARGO_HOME/bin
- cargo-license --json > dependencies.json
- cat dependencies.json

- export PYO3_CROSS_INCLUDE_DIR=$PREFIX/include # [build_platform != target_platform]
- export PYO3_CROSS_LIB_DIR=$PREFIX/lib # [build_platform != target_platform]
- {{ PYTHON }} -m pip install . -vv
Expand Down Expand Up @@ -65,7 +75,7 @@ test:

about:
home: https://github.com/pyca/cryptography
license: Apache-2.0 AND BSD-3-Clause AND PSF-2.0
license: Apache-2.0 AND BSD-3-Clause AND PSF-2.0 AND MIT
license_family: BSD
license_file: LICENSE
summary: Provides cryptographic recipes and primitives to Python developers
Expand Down

0 comments on commit 14ee8c2

Please sign in to comment.