Skip to content

Commit

Permalink
Add check for Gstly source in Snap build (#179)
Browse files Browse the repository at this point in the history
Checks if Gstly source code is being included in the Snap. Gstly is currently a proprietary library, so we can't include the source code yet.

Co-authored-by: ignormies <[email protected]>
  • Loading branch information
velovix and BryceBeagle authored Aug 4, 2021
1 parent e466864 commit 8c61b26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/snap/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ parts:
# Add the main Python file
cp brainframe_client.py $PYTHON_INSTALL_DIR/
# Check that no Gstly source is in the build
export GSTLY_PATH=$(python3 -c "import pathlib, gstly; print(pathlib.Path(gstly.__file__).parent)")
! find ${GSTLY_PATH} -name "*.py" | grep .
source: .
build-packages:
# Basic Python packages
Expand Down

0 comments on commit 8c61b26

Please sign in to comment.