Make netdata detect default version of Python
Details
Details
Run-time tested on 13-CURRENT
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Mmmm, this is doing it wrong. Say, I have installed Python 3.8 to test some stuffs but the default Python is 3.7.
This would have it use Python 3.8 which it should not be doing because it is not the default.
The patch should replace it to pybinary=%%PYTHON%% or something, and then in post-patch, you should replace %%PYTHON%% with ${PYTHON_CMD}.
That way, the correct default Python would always be used.