Skip to content

Conversation

dconeybe
Copy link
Contributor

Add the cmake cache variable FIREBASE_PYTHON_PYVENV_DEST_DIR. This variable will be used by the FirebaseSetupPythonInterpreter() function added in #9662 to allow a custom directory to be specified for the root directory of the python virtualenvs it creates.

This can be used as a workaround for virtualenv paths that exceed the Windows maximum path length of 260. For example, this happened in the build-desktop-windows-latest-openssl workflow in the firebase-cpp-sdk repository.

#no-changelog

@dconeybe dconeybe self-assigned this Apr 20, 2022
@dconeybe
Copy link
Contributor Author

Turns out this workaround isn't needed. The Windows problem was using a Python interpreter without a good venv.

@dconeybe dconeybe closed this Apr 26, 2022
@firebase firebase locked and limited conversation to collaborators May 27, 2022
@dconeybe dconeybe deleted the dconeybe/PythonSetup_FIREBASE_PYTHON_PYVENV_DEST_DIR branch August 15, 2023 15:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant