python -m site
This commit is contained in:
2
.github/workflows/ci_release.yml
vendored
2
.github/workflows/ci_release.yml
vendored
@@ -302,7 +302,7 @@ jobs:
|
|||||||
- name: Set env
|
- name: Set env
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
python -m site --user-site
|
python -m site
|
||||||
echo "PYTHON_SITE_PACKAGES_PATH=$(python -m site --user-site)" >> $GITHUB_ENV
|
echo "PYTHON_SITE_PACKAGES_PATH=$(python -m site --user-site)" >> $GITHUB_ENV
|
||||||
- name: Path for macOS arm64
|
- name: Path for macOS arm64
|
||||||
if: matrix.os == 'macos-14'
|
if: matrix.os == 'macos-14'
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ a = Analysis(
|
|||||||
['src/extract_otp_secrets.py'],
|
['src/extract_otp_secrets.py'],
|
||||||
pathex=[],
|
pathex=[],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[('/__yolo_v3_qr_detector/', '__yolo_v3_qr_detector/')],
|
datas=[(os.environ['PYTHON_SITE_PACKAGES_PATH'] + '/__yolo_v3_qr_detector/', '__yolo_v3_qr_detector/')],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
hooksconfig={},
|
hooksconfig={},
|
||||||
|
|||||||
Reference in New Issue
Block a user