File: pycompile.1

package info (click to toggle)
python-defaults 2.7.16-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 856 kB
  • sloc: python: 2,342; makefile: 564; sh: 203; perl: 7
file content (98 lines) | stat: -rw-r--r-- 2,390 bytes parent folder | download | duplicates (4)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.\" Man page generated from reStructuredText.
.
.TH PYCOMPILE 1 "" "" ""
.SH NAME
pycompile \- byte compile Python source files
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
pycompile [\-V [X.Y][\-][A.B]] DIR_OR_FILE [\-X REGEXPR]
.sp
pycompile \-p PACKAGE
.UNINDENT
.UNINDENT
.SH DESCRIPTION
.sp
Wrapper around Python standard library\(aqs py_compile module to byte\-compile
Python files.
.SH OPTIONS
.INDENT 0.0
.TP
.B \-\-version
show program\(aqs version number and exit
.TP
.B \-h\fP,\fB  \-\-help
show this help message and exit
.TP
.B \-f\fP,\fB  \-\-force
force rebuild of byte\-code files even if timestamps are up\-to\-date
.TP
.B \-O
byte\-compile to .pyo files
.TP
.B \-q\fP,\fB  \-\-quiet
be quiet
.TP
.B \-v\fP,\fB  \-\-verbose
turn verbose mode on
.TP
.BI \-p \ PACKAGE\fP,\fB \ \-\-package\fB= PACKAGE
specify Debian package name whose files should
be bytecompiled (combining with DIR_OR_FILE will additionally limit list of
files)
.TP
.BI \-V \ VRANGE
force private modules to be bytecompiled with Python
version from given range, regardless of the default Python version in the
system. If there are no other options, bytecompile all public modules
for installed Python versions that match given range. VERSION_RANGE examples:
.INDENT 7.0
.INDENT 3.5
.INDENT 0.0
.IP \(bu 2
\fB2.5\fP    version 2.5 only
.IP \(bu 2
\fB2.5\-\fP   version 2.5 or newer
.IP \(bu 2
\fB2.5\-2.7\fP        version 2.5 or 2.6
.IP \(bu 2
\fB\-3.0\fP   all supported 2.X versions
.UNINDENT
.UNINDENT
.UNINDENT
.TP
.BI \-X \ REGEXPR\fP,\fB \ \-\-exclude\fB= REGEXPR
exclude items that match given REGEXPR. You may
use this option multiple times to build up a list of things to exclude
.UNINDENT
.SH AUTHOR
Piotr O┼╝arowski, 2012-2013
.\" Generated by docutils manpage writer.
.