You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There does not seem to be any documentation referring to pythonLocation.
Reacted by Chenfeng Bao, Ondrej Baranovič, Ryan Hiebert, Matthijs Brobbel, Henry Schreiner, Yusuke Miyazaki, Adam Hillier, iakov, Sebastián Ramírez, Yevhenii Semendiak and 6 more
Hi, @lostmsu and @arBmind 👋 ! The pythonLocation environment variable was documented in the latest release of the action. Thank you for contributing 🚀 ! By now I'm going to close this issue.
If you have any additions or suggestions feel free to ping us!
It contains the absolute path to the folder where the desired version of Python or PyPy is installed
If for example the Python executable is in /path/to/usr/bin/python what is the value of pythonLocation then? Is that /path/to/usr/? Or /path/to/? Or maybe /path/to/usr/bin/? :)
Is it the same as python -c 'import sys; print(sys.prefix)?
Activity
arBmind commentedon Jan 3, 2022
I agree on documenting this variable.
But I would also suggest to rename the variable to:
PYTHON_INSTALL_DIRas this is used by the python installers.IvanZosimov commentedon Jun 9, 2022
Hi, @lostmsu and @arBmind 👋 ! The
pythonLocationenvironment variable was documented in the latest release of the action. Thank you for contributing 🚀 ! By now I'm going to close this issue.If you have any additions or suggestions feel free to ping us!
jgehrcke commentedon Oct 11, 2024
If for example the Python executable is in
/path/to/usr/bin/pythonwhat is the value of pythonLocation then? Is that/path/to/usr/? Or/path/to/? Or maybe/path/to/usr/bin/? :)Is it the same as
python -c 'import sys; print(sys.prefix)?