print python version information


pyversions [-h] [-v] []


pyversions prints information about installed, supported python run‐ times, the default runtime, and parses the information of the Python‐ Version fields in the package control file.


-d, --default Show the default python version. -s, --supported Show the supported python versions. -r, --requested [|] Reads the value of the XS-Python-Version field in the source section of a control file and shows all matching python ver‐ sions. The parameter is interpreted as a version string, if it is not the name of a file. If the XS-Python-Version field is missing, get the version information from debian/pyversions. Without any parameter, it will fall back to list the supported Python versions after checking debian/control and debian/pyver‐ sions. -i, --installed Show the installed supported python versions. -v, --version Limit the output to the version numbers of the python versions. -h, --help Print a help text.


Python policy.


Matthias Klose PYVERSIONS()

Copied to clipboard
free 100$ digital ocean credit