Skip to content

Commit

Permalink
sdist: include bundled Cargo dependency licenses
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Jakubowski <tom@prospective.dev>
  • Loading branch information
tomjakubowski committed Nov 11, 2024
1 parent 269fbe6 commit 053abcd
Show file tree
Hide file tree
Showing 9 changed files with 361 additions and 22 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
rust/perspective-client/docs/
rust/perspective-js/src/ts/
rust/perspective-viewer/src/ts/
rust/perspective-python/LICENSE_THIRDPARTY_cargo.yml
# ,-,---. . . ,-_/ .---. .
# '|___/ . . . | ,-| ' | ,-. . , ,-. \___ ,-. ,-. . ,-. |-
Expand Down Expand Up @@ -485,6 +486,11 @@ jobs:
name: perspective-js-dist
path: .

- uses: actions/download-artifact@v4
with:
name: perspective-metadata
path: rust/

- uses: actions/download-artifact@v4
with:
name: perspective-python-dist-${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.python-version }}
Expand Down Expand Up @@ -707,6 +713,13 @@ jobs:
shell: bash
run: python -m pip install -vv ./perspective*.tar.gz

- name: Verify licenses are installed
shell: bash
run: |
pip show -f perspective-python > wheel_installed_files.txt
grep licenses/LICENSE.md wheel_installed_files.txt
grep licenses/LICENSE_THIRDPARTY_cargo.yml wheel_installed_files.txt
- name: Verify labextension
shell: bash
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ rust/perspective-server/cmake
rust/perspective-python/*.data
rust/perspective-python/PKG-INFO
rust/perspective-python/LICENSE.md
rust/perspective-python/LICENSE_*
rust/perspective-viewer/docs/exprtk.md
rust/perspective-server/docs/lib_gen.md
rust/perspective-client/docs/expression_gen.md
Loading

0 comments on commit 053abcd

Please sign in to comment.