Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / amd64 / html / python / dist / sdist-cmd.html
CommitLineData
920dae64
AT
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<link rel="STYLESHEET" href="dist.css" type='text/css' />
5<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
6<link rel='start' href='../index.html' title='Python Documentation Index' />
7<link rel="first" href="dist.html" title='Distributing Python Modules' />
8<link rel='index' href='genindex.html' title='Index' />
9<link rel='last' href='about.html' title='About this document...' />
10<link rel='help' href='about.html' title='About this document...' />
11<link rel="prev" href="install-scripts-cmd.html" />
12<link rel="parent" href="reference.html" />
13<link rel="next" href="api-reference.html" />
14<meta name='aesop' content='information' />
15<title>9.2 Creating a source distribution: the sdist command</title>
16</head>
17<body>
18<DIV CLASS="navigation">
19<div id='top-navigation-panel' xml:id='top-navigation-panel'>
20<table align="center" width="100%" cellpadding="0" cellspacing="2">
21<tr>
22<td class='online-navigation'><a rel="prev" title="9.1 Installing modules: the"
23 href="install-scripts-cmd.html"><img src='../icons/previous.png'
24 border='0' height='32' alt='Previous Page' width='32' /></A></td>
25<td class='online-navigation'><a rel="parent" title="9. Command Reference"
26 href="reference.html"><img src='../icons/up.png'
27 border='0' height='32' alt='Up One Level' width='32' /></A></td>
28<td class='online-navigation'><a rel="next" title="10. API Reference"
29 href="api-reference.html"><img src='../icons/next.png'
30 border='0' height='32' alt='Next Page' width='32' /></A></td>
31<td align="center" width="100%">Distributing Python Modules</td>
32<td class='online-navigation'><img src='../icons/blank.png'
33 border='0' height='32' alt='' width='32' /></td>
34<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
35 border='0' height='32' alt='Module Index' width='32' /></a></td>
36<td class='online-navigation'><a rel="index" title="Index"
37 href="genindex.html"><img src='../icons/index.png'
38 border='0' height='32' alt='Index' width='32' /></A></td>
39</tr></table>
40<div class='online-navigation'>
41<b class="navlabel">Previous:</b>
42<a class="sectref" rel="prev" href="install-scripts-cmd.html">9.1 Installing modules: the</A>
43<b class="navlabel">Up:</b>
44<a class="sectref" rel="parent" href="reference.html">9. Command Reference</A>
45<b class="navlabel">Next:</b>
46<a class="sectref" rel="next" href="api-reference.html">10. API Reference</A>
47</div>
48<hr /></div>
49</DIV>
50<!--End of Navigation Panel-->
51
52<H1><A NAME="SECTION009200000000000000000"></A>
53<A NAME="sdist-cmd"></A>
54<BR>
559.2 Creating a source distribution: the
56 <code class="du-command">sdist</code> command
57</H1>
58
59<P>
60<b class="du-xxx">fragment moved down from above: needs context!</b>
61
62<P>
63The manifest template commands are:
64
65<P>
66<div class="center"><table class="realtable">
67 <thead>
68 <tr>
69 <th class="left" >Command</th>
70 <th>Description</th>
71 </tr>
72 </thead>
73 <tbody>
74 <tr><td class="left" valign="baseline"><code>include <var>pat1</var> <var>pat2</var> ... </code></td>
75 <td>include all files matching any of the listed patterns</td></tr>
76 <tr><td class="left" valign="baseline"><code>exclude <var>pat1</var> <var>pat2</var> ... </code></td>
77 <td>exclude all files matching any of the listed patterns</td></tr>
78 <tr><td class="left" valign="baseline"><code>recursive-include <var>dir</var> <var>pat1</var> <var>pat2</var> ... </code></td>
79 <td>include all files under <var>dir</var> matching any of the listed patterns</td></tr>
80 <tr><td class="left" valign="baseline"><code>recursive-exclude <var>dir</var> <var>pat1</var> <var>pat2</var> ...</code></td>
81 <td>exclude all files under <var>dir</var> matching any of the listed patterns</td></tr>
82 <tr><td class="left" valign="baseline"><code>global-include <var>pat1</var> <var>pat2</var> ...</code></td>
83 <td>include all files anywhere in the source tree matching
84<BR>&amp;
85 any of the listed patterns</td></tr>
86 <tr><td class="left" valign="baseline"><code>global-exclude <var>pat1</var> <var>pat2</var> ...</code></td>
87 <td>exclude all files anywhere in the source tree matching
88<BR>&amp;
89 any of the listed patterns</td></tr>
90 <tr><td class="left" valign="baseline"><code>prune <var>dir</var></code></td>
91 <td>exclude all files under <var>dir</var></td></tr>
92 <tr><td class="left" valign="baseline"><code>graft <var>dir</var></code></td>
93 <td>include all files under <var>dir</var></td></tr></tbody>
94</table></div>
95
96<P>
97The patterns here are <span class="Unix">Unix</span>-style ``glob'' patterns: <code>*</code> matches any
98sequence of regular filename characters, <code>?</code> matches any single
99regular filename character, and <code>[<var>range</var>]</code> matches any of the
100characters in <var>range</var> (e.g., <code>a-z</code>, <code>a-zA-Z</code>,
101<code>a-f0-9_.</code>). The definition of ``regular filename character'' is
102platform-specific: on <span class="Unix">Unix</span> it is anything except slash; on Windows
103anything except backslash or colon; on Mac OS 9 anything except colon.
104
105<P>
106<b class="du-xxx">Windows support not there yet</b>
107
108<P>
109
110<DIV CLASS="navigation">
111<div class='online-navigation'>
112<p></p><hr />
113<table align="center" width="100%" cellpadding="0" cellspacing="2">
114<tr>
115<td class='online-navigation'><a rel="prev" title="9.1 Installing modules: the"
116 href="install-scripts-cmd.html"><img src='../icons/previous.png'
117 border='0' height='32' alt='Previous Page' width='32' /></A></td>
118<td class='online-navigation'><a rel="parent" title="9. Command Reference"
119 href="reference.html"><img src='../icons/up.png'
120 border='0' height='32' alt='Up One Level' width='32' /></A></td>
121<td class='online-navigation'><a rel="next" title="10. API Reference"
122 href="api-reference.html"><img src='../icons/next.png'
123 border='0' height='32' alt='Next Page' width='32' /></A></td>
124<td align="center" width="100%">Distributing Python Modules</td>
125<td class='online-navigation'><img src='../icons/blank.png'
126 border='0' height='32' alt='' width='32' /></td>
127<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
128 border='0' height='32' alt='Module Index' width='32' /></a></td>
129<td class='online-navigation'><a rel="index" title="Index"
130 href="genindex.html"><img src='../icons/index.png'
131 border='0' height='32' alt='Index' width='32' /></A></td>
132</tr></table>
133<div class='online-navigation'>
134<b class="navlabel">Previous:</b>
135<a class="sectref" rel="prev" href="install-scripts-cmd.html">9.1 Installing modules: the</A>
136<b class="navlabel">Up:</b>
137<a class="sectref" rel="parent" href="reference.html">9. Command Reference</A>
138<b class="navlabel">Next:</b>
139<a class="sectref" rel="next" href="api-reference.html">10. API Reference</A>
140</div>
141</div>
142<hr />
143<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
144</DIV>
145<!--End of Navigation Panel-->
146<ADDRESS>
147See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
148</ADDRESS>
149</BODY>
150</HTML>