1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
.TH PY3VERSIONS
.SH NAME
py3versions \- print python3 version information
.SH SYNOPSIS
.PP
.B py3versions
.I [-h] [-v] [<options>]
.SH DESCRIPTION
.PP
.B py3versions
prints information about installed, supported python3 runtimes, the
default runtime, and parses the information of the PythonVersion
fields in the package control file for Python3.
.SH OPTIONS
.TP
.I -d, --default
Show the default python3 version.
.TP
.I -s, --supported
Show the supported python3 versions. List is lowest version to highest
version with the default version last (e.g. python3.4 python3.6 python3.5 if
python3.4, 3.5, and 3.6 are supported, but python3.5 is the default python3).
.TP
.I -r, --requested [<version string>|<control file>]
Reads the value of the
.B X-Python3-Version
field in the source section of a control file and shows all matching
python3 versions. The parameter is interpreted as a version string, if
it is not the name of a file. If the X-Python3-Version field is
missing, it will fall back to list the supported Python3
versions after checking debian/control. Versions less than 3 are
ignored. The keyword all is ignored because it covers all Python2
versions. The former keyword current is not supported at all in
Python3. Uses the same sort order as the -s, --supported option.
.TP
.I -i, --installed
Show the installed supported python3 versions.
.TP
.I --min-supported
Show the minimum supported python3 version.
.TP
.I --max-supported
Show the maximum supported python3 version.
.TP
.I -v, --version
Limit the output to the version numbers of the python3 versions.
.TP
.I -h, --help
Print a help text.
.SH SEE ALSO
Python policy.
.SH AUTHOR
Matthias Klose
|