| 1 | \section{\module{distutils} ---
|
|---|
| 2 | Building and installing Python modules}
|
|---|
| 3 |
|
|---|
| 4 | \declaremodule{standard}{distutils}
|
|---|
| 5 | \modulesynopsis{Support for building and installing Python modules
|
|---|
| 6 | into an existing Python installation.}
|
|---|
| 7 | \sectionauthor{Fred L. Drake, Jr.}{[email protected]}
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | The \module{distutils} package provides support for building and
|
|---|
| 11 | installing additional modules into a Python installation. The new
|
|---|
| 12 | modules may be either 100\%{}-pure Python, or may be extension modules
|
|---|
| 13 | written in C, or may be collections of Python packages which include
|
|---|
| 14 | modules coded in both Python and C.
|
|---|
| 15 |
|
|---|
| 16 | This package is discussed in two separate documents which are included
|
|---|
| 17 | in the Python documentation package. To learn about distributing new
|
|---|
| 18 | modules using the \module{distutils} facilities, read
|
|---|
| 19 | \citetitle[../dist/dist.html]{Distributing Python Modules}; this
|
|---|
| 20 | includes documentation needed to extend distutils. To learn
|
|---|
| 21 | about installing Python modules, whether or not the author made use of
|
|---|
| 22 | the \module{distutils} package, read
|
|---|
| 23 | \citetitle[../inst/inst.html]{Installing Python Modules}.
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | \begin{seealso}
|
|---|
| 27 | \seetitle[../dist/dist.html]{Distributing Python Modules}{The manual
|
|---|
| 28 | for developers and packagers of Python modules. This
|
|---|
| 29 | describes how to prepare \module{distutils}-based packages
|
|---|
| 30 | so that they may be easily installed into an existing
|
|---|
| 31 | Python installation.}
|
|---|
| 32 |
|
|---|
| 33 | \seetitle[../inst/inst.html]{Installing Python Modules}{An
|
|---|
| 34 | ``administrators'' manual which includes information on
|
|---|
| 35 | installing modules into an existing Python installation.
|
|---|
| 36 | You do not need to be a Python programmer to read this
|
|---|
| 37 | manual.}
|
|---|
| 38 | \end{seealso}
|
|---|