Merge pull request #1129 from dbungert/core20-import-ssh

snapcraft: remove python links from snap bin dir
This commit is contained in:
Michael Hudson-Doyle 2021-11-22 11:40:57 +13:00 committed by GitHub
commit 200ceb1d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -70,6 +70,8 @@ parts:
- "-lib/python*/site-packages/wheel*"
- "-lib/python*/site-packages/probert"
- "-bin/activate*"
- -bin/python
- -bin/python3*
- "-lib/python3.8/site-packages/__pycache__/six.cpython*"
- "-lib/python3.8/site-packages/pip-*.dist-info/RECORD"
- "-lib/python3.8/site-packages/wheel-*.dist-info/RECORD"
@ -112,6 +114,10 @@ parts:
- python3-requests-unixsocket
- python3-requests
- python3-pyudev
stage:
- "*"
- -bin/python
- -bin/python3
source: .
source-type: git
build-environment:
@ -178,6 +184,7 @@ parts:
requirements: [requirements.txt]
stage:
- "*"
- -bin/python
- -bin/python3*
- -bin/activate*
- -lib/python3.8/site-packages/_distutils_hack