| 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="next" href="simple-example.html" /> |
| 12 | <link rel="prev" href="intro.html" /> |
| 13 | <link rel="parent" href="intro.html" /> |
| 14 | <link rel="next" href="simple-example.html" /> |
| 15 | <meta name='aesop' content='information' /> |
| 16 | <title>1.1 Concepts & Terminology</title> |
| 17 | </head> |
| 18 | <body> |
| 19 | <DIV CLASS="navigation"> |
| 20 | <div id='top-navigation-panel' xml:id='top-navigation-panel'> |
| 21 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 22 | <tr> |
| 23 | <td class='online-navigation'><a rel="prev" title="1. An Introduction to" |
| 24 | href="intro.html"><img src='../icons/previous.png' |
| 25 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 26 | <td class='online-navigation'><a rel="parent" title="1. An Introduction to" |
| 27 | href="intro.html"><img src='../icons/up.png' |
| 28 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 29 | <td class='online-navigation'><a rel="next" title="1.2 A Simple Example" |
| 30 | href="simple-example.html"><img src='../icons/next.png' |
| 31 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 32 | <td align="center" width="100%">Distributing Python Modules</td> |
| 33 | <td class='online-navigation'><img src='../icons/blank.png' |
| 34 | border='0' height='32' alt='' width='32' /></td> |
| 35 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 36 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 37 | <td class='online-navigation'><a rel="index" title="Index" |
| 38 | href="genindex.html"><img src='../icons/index.png' |
| 39 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 40 | </tr></table> |
| 41 | <div class='online-navigation'> |
| 42 | <b class="navlabel">Previous:</b> |
| 43 | <a class="sectref" rel="prev" href="intro.html">1. An Introduction to</A> |
| 44 | <b class="navlabel">Up:</b> |
| 45 | <a class="sectref" rel="parent" href="intro.html">1. An Introduction to</A> |
| 46 | <b class="navlabel">Next:</b> |
| 47 | <a class="sectref" rel="next" href="simple-example.html">1.2 A Simple Example</A> |
| 48 | </div> |
| 49 | <hr /></div> |
| 50 | </DIV> |
| 51 | <!--End of Navigation Panel--> |
| 52 | |
| 53 | <H1><A NAME="SECTION001100000000000000000"></A> |
| 54 | <A NAME="concepts"></A> |
| 55 | <BR> |
| 56 | 1.1 Concepts & Terminology |
| 57 | </H1> |
| 58 | |
| 59 | <P> |
| 60 | Using the Distutils is quite simple, both for module developers and for |
| 61 | users/administrators installing third-party modules. As a developer, |
| 62 | your responsibilities (apart from writing solid, well-documented and |
| 63 | well-tested code, of course!) are: |
| 64 | |
| 65 | <UL> |
| 66 | <LI>write a setup script (<span class="file">setup.py</span> by convention) |
| 67 | </LI> |
| 68 | <LI>(optional) write a setup configuration file |
| 69 | </LI> |
| 70 | <LI>create a source distribution |
| 71 | </LI> |
| 72 | <LI>(optional) create one or more built (binary) distributions |
| 73 | </LI> |
| 74 | </UL> |
| 75 | Each of these tasks is covered in this document. |
| 76 | |
| 77 | <P> |
| 78 | Not all module developers have access to a multitude of platforms, so |
| 79 | it's not always feasible to expect them to create a multitude of built |
| 80 | distributions. It is hoped that a class of intermediaries, called |
| 81 | <em>packagers</em>, will arise to address this need. Packagers will take |
| 82 | source distributions released by module developers, build them on one or |
| 83 | more platforms, and release the resulting built distributions. Thus, |
| 84 | users on the most popular platforms will be able to install most popular |
| 85 | Python module distributions in the most natural way for their platform, |
| 86 | without having to run a single setup script or compile a line of code. |
| 87 | |
| 88 | <P> |
| 89 | |
| 90 | <DIV CLASS="navigation"> |
| 91 | <div class='online-navigation'> |
| 92 | <p></p><hr /> |
| 93 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 94 | <tr> |
| 95 | <td class='online-navigation'><a rel="prev" title="1. An Introduction to" |
| 96 | href="intro.html"><img src='../icons/previous.png' |
| 97 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 98 | <td class='online-navigation'><a rel="parent" title="1. An Introduction to" |
| 99 | href="intro.html"><img src='../icons/up.png' |
| 100 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 101 | <td class='online-navigation'><a rel="next" title="1.2 A Simple Example" |
| 102 | href="simple-example.html"><img src='../icons/next.png' |
| 103 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 104 | <td align="center" width="100%">Distributing Python Modules</td> |
| 105 | <td class='online-navigation'><img src='../icons/blank.png' |
| 106 | border='0' height='32' alt='' width='32' /></td> |
| 107 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 108 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 109 | <td class='online-navigation'><a rel="index" title="Index" |
| 110 | href="genindex.html"><img src='../icons/index.png' |
| 111 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 112 | </tr></table> |
| 113 | <div class='online-navigation'> |
| 114 | <b class="navlabel">Previous:</b> |
| 115 | <a class="sectref" rel="prev" href="intro.html">1. An Introduction to</A> |
| 116 | <b class="navlabel">Up:</b> |
| 117 | <a class="sectref" rel="parent" href="intro.html">1. An Introduction to</A> |
| 118 | <b class="navlabel">Next:</b> |
| 119 | <a class="sectref" rel="next" href="simple-example.html">1.2 A Simple Example</A> |
| 120 | </div> |
| 121 | </div> |
| 122 | <hr /> |
| 123 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> |
| 124 | </DIV> |
| 125 | <!--End of Navigation Panel--> |
| 126 | <ADDRESS> |
| 127 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. |
| 128 | </ADDRESS> |
| 129 | </BODY> |
| 130 | </HTML> |