1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
<html xmlns="http://www.w3.org/1999/xhtml">
7
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
<title>9. Command Reference — Python 2.7.12 documentation</title>
11
<link rel="stylesheet" href="../_static/classic.css" type="text/css" />
12
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
14
<script type="text/javascript">
15
var DOCUMENTATION_OPTIONS = {
18
COLLAPSE_INDEX: false,
23
<script type="text/javascript" src="../_static/jquery.js"></script>
24
<script type="text/javascript" src="../_static/underscore.js"></script>
25
<script type="text/javascript" src="../_static/doctools.js"></script>
26
<script type="text/javascript" src="../_static/sidebar.js"></script>
27
<link rel="search" type="application/opensearchdescription+xml"
28
title="Search within Python 2.7.12 documentation"
29
href="../_static/opensearch.xml"/>
30
<link rel="author" title="About these documents" href="../about.html" />
31
<link rel="copyright" title="Copyright" href="../copyright.html" />
32
<link rel="top" title="Python 2.7.12 documentation" href="../contents.html" />
33
<link rel="up" title="Distributing Python Modules (Legacy version)" href="index.html" />
34
<link rel="next" title="10. API Reference" href="apiref.html" />
35
<link rel="prev" title="8. Extending Distutils" href="extending.html" />
36
<link rel="shortcut icon" type="image/png" href="../_static/py.png" />
37
<script type="text/javascript" src="../_static/copybutton.js"></script>
38
<script type="text/javascript" src="../_static/version_switch.js"></script>
43
<body role="document">
44
<div class="related" role="navigation" aria-label="related navigation">
47
<li class="right" style="margin-right: 10px">
48
<a href="../genindex.html" title="General Index"
49
accesskey="I">index</a></li>
51
<a href="../py-modindex.html" title="Python Module Index"
54
<a href="apiref.html" title="10. API Reference"
55
accesskey="N">next</a> |</li>
57
<a href="extending.html" title="8. Extending Distutils"
58
accesskey="P">previous</a> |</li>
59
<li><img src="../_static/py.png" alt=""
60
style="vertical-align: middle; margin-top: -1px"/></li>
61
<li><a href="https://www.python.org/">Python</a> »</li>
63
<span class="version_switcher_placeholder">2.7.12</span>
64
<a href="../index.html">Documentation</a> »
67
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Distributing Python Modules (Legacy version)</a> »</li>
71
<div class="document">
72
<div class="documentwrapper">
73
<div class="bodywrapper">
74
<div class="body" role="main">
76
<div class="section" id="command-reference">
77
<span id="reference"></span><h1>9. Command Reference<a class="headerlink" href="#command-reference" title="Permalink to this headline">¶</a></h1>
78
<div class="section" id="installing-modules-the-install-command-family">
79
<span id="install-cmd"></span><h2>9.1. Installing modules: the <strong class="command">install</strong> command family<a class="headerlink" href="#installing-modules-the-install-command-family" title="Permalink to this headline">¶</a></h2>
80
<p>The install command ensures that the build commands have been run and then runs
81
the subcommands <strong class="command">install_lib</strong>, <strong class="command">install_data</strong> and
82
<strong class="command">install_scripts</strong>.</p>
83
<div class="section" id="install-data">
84
<span id="install-data-cmd"></span><h3>9.1.1. <strong class="command">install_data</strong><a class="headerlink" href="#install-data" title="Permalink to this headline">¶</a></h3>
85
<p>This command installs all data files provided with the distribution.</p>
87
<div class="section" id="install-scripts">
88
<span id="install-scripts-cmd"></span><h3>9.1.2. <strong class="command">install_scripts</strong><a class="headerlink" href="#install-scripts" title="Permalink to this headline">¶</a></h3>
89
<p>This command installs all (Python) scripts in the distribution.</p>
98
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
99
<div class="sphinxsidebarwrapper">
100
<h3><a href="../contents.html">Table Of Contents</a></h3>
102
<li><a class="reference internal" href="#">9. Command Reference</a><ul>
103
<li><a class="reference internal" href="#installing-modules-the-install-command-family">9.1. Installing modules: the <strong class="command">install</strong> command family</a><ul>
104
<li><a class="reference internal" href="#install-data">9.1.1. <strong class="command">install_data</strong></a></li>
105
<li><a class="reference internal" href="#install-scripts">9.1.2. <strong class="command">install_scripts</strong></a></li>
112
<h4>Previous topic</h4>
113
<p class="topless"><a href="extending.html"
114
title="previous chapter">8. Extending Distutils</a></p>
116
<p class="topless"><a href="apiref.html"
117
title="next chapter">10. API Reference</a></p>
119
<ul class="this-page-menu">
120
<li><a href="../bugs.html">Report a Bug</a></li>
121
<li><a href="../_sources/distutils/commandref.txt"
122
rel="nofollow">Show Source</a></li>
125
<div id="searchbox" style="display: none" role="search">
126
<h3>Quick search</h3>
127
<form class="search" action="../search.html" method="get">
128
<input type="text" name="q" />
129
<input type="submit" value="Go" />
130
<input type="hidden" name="check_keywords" value="yes" />
131
<input type="hidden" name="area" value="default" />
133
<p class="searchtip" style="font-size: 90%">
134
Enter search terms or a module, class or function name.
137
<script type="text/javascript">$('#searchbox').show(0);</script>
140
<div class="clearer"></div>
142
<div class="related" role="navigation" aria-label="related navigation">
145
<li class="right" style="margin-right: 10px">
146
<a href="../genindex.html" title="General Index"
149
<a href="../py-modindex.html" title="Python Module Index"
152
<a href="apiref.html" title="10. API Reference"
155
<a href="extending.html" title="8. Extending Distutils"
157
<li><img src="../_static/py.png" alt=""
158
style="vertical-align: middle; margin-top: -1px"/></li>
159
<li><a href="https://www.python.org/">Python</a> »</li>
161
<span class="version_switcher_placeholder">2.7.12</span>
162
<a href="../index.html">Documentation</a> »
165
<li class="nav-item nav-item-1"><a href="index.html" >Distributing Python Modules (Legacy version)</a> »</li>
169
© <a href="../copyright.html">Copyright</a> 1990-2016, Python Software Foundation.
171
The Python Software Foundation is a non-profit corporation.
172
<a href="https://www.python.org/psf/donations/">Please donate.</a>
174
Last updated on Sep 20, 2016.
175
<a href="../bugs.html">Found a bug</a>?
177
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.3.3.
b'\\ No newline at end of file'