Return to

Detect and install minimum python version

another c++ learning project from me
I went the long way around detecting and installing a minimum (e.g. 3.7.0) version of python:

it’s sort of modular so can be modded and used for other stuff but it just spits out whether you have the version you input and then the bash script installs the current cpython from git

if you have 3.6.1

$ pythondetector 3.5.2
minimum version installed

$ pythondetector 3.6.1
minimum version installed

$ pythondetector 3.7.0
minimum version not installed

also this is my first time copy/pasting from SO writing a Makefile so idk

usage is ./

purpose is new current python-dev installs on armbian or raspbian