Debian Codegraph @

debian/check-manifest.1

raw
1 .\" Hey, EMACS: -*- nroff -*-
2 .\" (C) Copyright 2017 Sergio Durigan Junior <[email protected]>
3 .TH CHECK-MANIFEST "1" "December 28 2017"
4 .\" Please adjust this date whenever revising the manpage.
5 .\"
6 .\" Some roff macros, for reference:
7 .\" .nh disable hyphenation
8 .\" .hy enable hyphenation
9 .\" .ad l left justify
10 .\" .ad b justify to both left and right margins
11 .\" .nf disable filling
12 .\" .fi enable filling
13 .\" .br insert line break
14 .\" .sp <n> insert n+1 empty lines
15 .\" for manpage-specific macros, see man(7)
16 .SH NAME
17 check-manifest \- Check a Python MANIFEST.in file for completeness
18
19 .SH SYNOPSIS
20 .PP
21 \fBcheck-manifest\fP [OPTION...] [SOURCE TREE]
22
23 .SH DESCRIPTION
24 \fBcheck-manifest\fP performs a check on a \fBMANIFEST.in\fP file from
25 a Python project and verifies its completeness. It can also create a
26 \fBMANIFEST.in\fP file from scratch or append suggestions to it, and
27 the user can also ignore certain patterns if needed.
28
29 .SH OPTIONS
30 .TP
31 .B \-h, \-\-help
32 Show summary of options.
33
34 .TP
35 .B \-\-version
36 Show version of program.
37
38 .TP
39 .B \-v, \-\-verbose
40 More verbose output (default: \fBFalse\fP).
41
42 .TP
43 .B \-c, \-\-create
44 Create a \fBMANIFEST.in\fP if missing (default: \fBFalse\fP).
45
46 .TP
47 .B \-u, \-\-update
48 Append suggestions to \fBMANIFEST.in\fP (implies \fB\-\-create\fP)
49 (default: \fBFalse\fP).
50
51 .TP
52 .B \-p \fBPYTHON\fP, \-\-python \fBPYTHON\fP
53 Use the specified \fBPYTHON\fP interpreter when running \fBsetup.py
54 sdist\fP (default: \fBsys.executable\fP).
55
56 .TP
57 .B \-\-ignore \fBPATTERNS\fP
58 Ignore files/directories matching \fBPATTERNS\fP, a comma-separated
59 list of patterns (default: \fBNone\fP).
60
61 .TP
62 .B \-\-ignore\-bad\-ideas \fBPATTERNS\fP
63 Ignore bad idea files/directories matching \fBPATTERNS\fP, a
64 comma-separated list of patterns (default: \fB[]\fP).
65
66 .SH CONFIGURATION
67 You can tell \fBcheck-manifest\fP to ignore certain file patterns by
68 adding a \fBcheck-manifest\fP section to your package's
69 \fBsetup.cfg\fP. Example:
70
71 .RS
72 [check-manifest]
73 .br
74 ignore =
75 .travis.yml
76 .RE
77
78 The following options are recognized:
79
80 .TP
81 .B ignore
82 .br
83 A list of newline separated filename patterns that will be ignored by
84 \fBcheck-manifest\fP. Use this if you want to keep files in your
85 version control system that shouldn't be included in your source
86 distributions. The default ignore list is
87
88 .RS
89 PKG-INFO
90 .br
91 *.egg-info
92 .br
93 *.egg-info/*
94 .br
95 setup.cfg
96 .br
97 \\.hgtags
98 .br
99 \\.hgsigs
100 .br
101 \\.hgignore
102 .br
103 \\.gitignore
104 .br
105 \\.bzrignore
106 .br
107 \\.gitattributes
108 .br
109 \\.travis.yml
110 .br
111 Jenkinsfile
112 .br
113 *.mo
114 .RE
115
116 .TP
117 .B ignore-default-rules
118 .br
119 If set to \fBtrue\fP, your \fBignore\fP patterns will replace the
120 default ignore list instead of adding to it.
121
122 .TP
123 .B ignore-bad-ideas
124 .br
125 A list of newline separated filename patterns that will be ignored by
126 \fBcheck-manifest\fP's generated files check. Use this if you want to
127 keep generated files in your version control system, even though it is
128 generally a bad idea.
129
130 .SH REPORTING BUGS
131 Please report bugs using the Debian BTS <https://bugs.debian.org>.
132
133 .SH AUTHOR
134 \fBcheck-manifest\fR is copyright (C) 2013 Marius Gedminas and contributors.
135
136 .PP
137 This manual page was written by Sergio Durigan Junior
138 <[email protected]> based on the project's \fBREADME.rst\fP for
139 the Debian GNU/Linux system, but may be used by others.
140
141 .PP
142 Permission is hereby granted, free of charge, to any person obtaining
143 a copy of this software and associated documentation files (the
144 "Software"), to deal in the Software without restriction, including
145 without limitation the rights to use, copy, modify, merge, publish,
146 distribute, sublicense, and/or sell copies of the Software, and to
147 permit persons to whom the Software is furnished to do so, subject to
148 the following conditions:
149
150 The above copyright notice and this permission notice shall be
151 included in all copies or substantial portions of the Software.
152
153 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
154 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
155 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
156 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
157 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
158 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
159 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.