| 1 |
.\" Man page generated from reStructuredText |
| 2 |
.\" by the Docutils 0.22.4 manpage writer. |
| 3 |
. |
| 4 |
. |
| 5 |
.nr rst2man-indent-level 0 |
| 6 |
. |
| 7 |
.de1 rstReportMargin |
| 8 |
\\$1 \\n[an-margin] |
| 9 |
level \\n[rst2man-indent-level] |
| 10 |
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 11 |
- |
| 12 |
\\n[rst2man-indent0] |
| 13 |
\\n[rst2man-indent1] |
| 14 |
\\n[rst2man-indent2] |
| 15 |
.. |
| 16 |
.de1 INDENT |
| 17 |
.\" .rstReportMargin pre: |
| 18 |
. RS \\$1 |
| 19 |
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| 20 |
. nr rst2man-indent-level +1 |
| 21 |
.\" .rstReportMargin post: |
| 22 |
.. |
| 23 |
.de UNINDENT |
| 24 |
. RE |
| 25 |
.\" indent \\n[an-margin] |
| 26 |
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 27 |
.nr rst2man-indent-level -1 |
| 28 |
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 29 |
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| 30 |
.. |
| 31 |
.TH "py3compile" "1" "" "" |
| 32 |
.SH Name |
| 33 |
py3compile \- byte compile Python 3 source files |
| 34 |
.SH SYNOPSIS |
| 35 |
.INDENT 0.0 |
| 36 |
.INDENT 3.5 |
| 37 |
py3compile [\-V [X.Y][\-][A.B]] DIR_OR_FILE [\-X REGEXPR] |
| 38 |
.sp |
| 39 |
pycompile \-p PACKAGE |
| 40 |
.UNINDENT |
| 41 |
.UNINDENT |
| 42 |
.SH DESCRIPTION |
| 43 |
.sp |
| 44 |
Wrapper around Python standard library\(aqs py_compile module to byte\-compile |
| 45 |
Python 3 files. |
| 46 |
.SH OPTIONS |
| 47 |
.INDENT 0.0 |
| 48 |
.TP |
| 49 |
.B \-\-version |
| 50 |
show program\(aqs version number and exit |
| 51 |
.TP |
| 52 |
.B \-h\fP,\fB \-\-help |
| 53 |
show this help message and exit |
| 54 |
.TP |
| 55 |
.B \-f\fP,\fB \-\-force |
| 56 |
force rebuild of byte\-code files even if timestamps are up\-to\-date |
| 57 |
.TP |
| 58 |
.B \-O |
| 59 |
byte\-compile to .pyo files |
| 60 |
.TP |
| 61 |
.B \-q\fP,\fB \-\-quiet |
| 62 |
be quiet |
| 63 |
.TP |
| 64 |
.B \-v\fP,\fB \-\-verbose |
| 65 |
turn verbose mode on |
| 66 |
.TP |
| 67 |
.BI \-p \ PACKAGE\fR,\fB \ \-\-package\fB= PACKAGE |
| 68 |
specify Debian package name whose files should |
| 69 |
be bytecompiled |
| 70 |
.TP |
| 71 |
.BI \-V \ VRANGE |
| 72 |
force private modules to be bytecompiled with Python 3 |
| 73 |
version from given range, regardless of the default Python 3 version in the |
| 74 |
system. If there are no other options, bytecompile all public modules for |
| 75 |
installed Python 3 versions that match given range. |
| 76 |
VERSION_RANGE examples: |
| 77 |
.INDENT 7.0 |
| 78 |
.INDENT 3.5 |
| 79 |
.INDENT 0.0 |
| 80 |
.IP \(bu 2 |
| 81 |
\fB3.1\fP version 3.1 only, |
| 82 |
.IP \(bu 2 |
| 83 |
\fB3.1\-\fP version 3.1 or newer, |
| 84 |
.IP \(bu 2 |
| 85 |
\fB3.1\-3.3\fP version 3.1 or 3.2, |
| 86 |
.IP \(bu 2 |
| 87 |
\fB\-4.0\fP all supported 3.X versions |
| 88 |
.UNINDENT |
| 89 |
.UNINDENT |
| 90 |
.UNINDENT |
| 91 |
.TP |
| 92 |
.BI \-X \ REGEXPR\fR,\fB \ \-\-exclude\fB= REGEXPR |
| 93 |
exclude items that match given REGEXPR. You may |
| 94 |
use this option multiple times to build up a list of things to exclude |
| 95 |
.UNINDENT |
| 96 |
.SH Author |
| 97 |
Piotr Ożarowski, 2012-2013 |
| 98 |
.\" End of generated man page. |