diff --git a/.github/workflows/macos-homebrew-build.yml b/.github/workflows/macos-homebrew-build.yml index ba192cfffd..c171f212a3 100644 --- a/.github/workflows/macos-homebrew-build.yml +++ b/.github/workflows/macos-homebrew-build.yml @@ -118,6 +118,7 @@ jobs: /Applications/Talipot*.app/Contents/MacOS/Talipot \ --check-application-starts \ --debug-plugins-load + /Users/runner/.Talipot-1.0/venv3.13/bin/python3 -m ensurepip --upgrade --default-pip hdiutil detach /Volumes/Talipot* - name: Upload Talipot bundle to GitHub Actions artifacts uses: actions/upload-artifact@v4 diff --git a/.github/workflows/macos-macports-build.yml b/.github/workflows/macos-macports-build.yml index d3c5e5f697..9cd9892e11 100644 --- a/.github/workflows/macos-macports-build.yml +++ b/.github/workflows/macos-macports-build.yml @@ -129,6 +129,7 @@ jobs: /Applications/Talipot*.app/Contents/MacOS/Talipot \ --check-application-starts \ --debug-plugins-load + /Users/runner/.Talipot-1.0/venv3.13/bin/python3 -m ensurepip --upgrade --default-pip hdiutil detach /Volumes/Talipot* - name: Upload Talipot bundle to GitHub Actions artifacts uses: actions/upload-artifact@v4 diff --git a/library/talipot-python/src/PythonInterpreter.cpp b/library/talipot-python/src/PythonInterpreter.cpp index c24f153f60..52fc671ea7 100644 --- a/library/talipot-python/src/PythonInterpreter.cpp +++ b/library/talipot-python/src/PythonInterpreter.cpp @@ -333,10 +333,11 @@ python_command = 'python3' if platform.system() == 'Windows': python_command = 'python.exe' sys._base_executable = os.path.join('%1', python_command) +print('%2') os.environ['LD_LIBRARY_PATH'] = '%2'; os.environ['DYLD_FALLBACK_LIBRARY_PATH'] = '%2'; os.environ['DYLD_FRAMEWORK_PATH'] = '%2'; -venv.create('%3', with_pip=True) +venv.create('%3', with_pip=False) )") .arg(QApplication::applicationDirPath(), tlpStringToQString(tlp::TalipotLibDir), talipotVenvDirectory));