From 3d9db186669e50b975bf0d28cd7d5396c1c4edc9 Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Thu, 2 Nov 2023 10:08:08 -0400 Subject: [PATCH] Trying without manually adding the OCP.pyd file --- .github/workflows/pyinstaller-builds-actions.yml | 2 +- cq-cli_pyinstaller.spec | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pyinstaller-builds-actions.yml b/.github/workflows/pyinstaller-builds-actions.yml index 5c5c1f8..29ffa74 100644 --- a/.github/workflows/pyinstaller-builds-actions.yml +++ b/.github/workflows/pyinstaller-builds-actions.yml @@ -81,7 +81,7 @@ jobs: - name: Run build shell: pwsh run: | - Get-ChildItem -Path C:\Miniconda3\envs\test\ -Filter OCP* -Recurse + # Get-ChildItem -Path C:\Miniconda3\envs\test\ -Filter OCP* -Recurse mamba info pyinstaller cq-cli_pyinstaller.spec ${{ github.event.inputs.type }} - uses: actions/upload-artifact@v2 diff --git a/cq-cli_pyinstaller.spec b/cq-cli_pyinstaller.spec index ef1d577..7c47833 100644 --- a/cq-cli_pyinstaller.spec +++ b/cq-cli_pyinstaller.spec @@ -47,9 +47,9 @@ hidden_imports = hidden_imports + hidden_imports_numpy a = Analysis(['src/cq_cli/main.py'], pathex=['.'], - binaries=[ - ocp_path - ], + # binaries=[ + # ocp_path + # ], datas=[ (os.path.join(os.path.dirname(os.path.realpath('__file__')), 'src', 'cq_cli', 'cqcodecs'), 'cqcodecs') ],