2007-08-15 11:28:22 -03:00
|
|
|
:mod:`distutils` --- Building and installing Python modules
|
|
|
|
===========================================================
|
|
|
|
|
|
|
|
.. module:: distutils
|
2009-05-17 09:29:12 -03:00
|
|
|
:synopsis: Support for building and installing Python modules into an
|
|
|
|
existing Python installation.
|
2007-08-15 11:28:22 -03:00
|
|
|
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
|
|
|
|
|
|
|
|
|
|
|
|
The :mod:`distutils` package provides support for building and installing
|
|
|
|
additional modules into a Python installation. The new modules may be either
|
|
|
|
100%-pure Python, or may be extension modules written in C, or may be
|
|
|
|
collections of Python packages which include modules coded in both Python and C.
|
|
|
|
|
2011-06-02 10:45:25 -03:00
|
|
|
.. deprecated:: 3.3
|
|
|
|
:mod:`packaging` replaces Distutils. See :ref:`packaging-index` and
|
|
|
|
:ref:`packaging-install-index`.
|
2007-08-15 11:28:22 -03:00
|
|
|
|
|
|
|
|
2011-06-02 10:45:25 -03:00
|
|
|
User documentation and API reference are provided in another document:
|
|
|
|
|
2007-08-15 11:28:22 -03:00
|
|
|
.. seealso::
|
|
|
|
|
|
|
|
:ref:`distutils-index`
|
2009-05-17 09:29:12 -03:00
|
|
|
The manual for developers and packagers of Python modules. This describes
|
|
|
|
how to prepare :mod:`distutils`\ -based packages so that they may be
|
2011-06-02 10:45:25 -03:00
|
|
|
easily installed into an existing Python installation. If also contains
|
|
|
|
instructions for end-users wanting to install a distutils-based package,
|
|
|
|
:ref:`install-index`.
|
2007-08-15 11:28:22 -03:00
|
|
|
|
|
|
|
|
2011-06-02 10:45:25 -03:00
|
|
|
.. trick to silence a Sphinx warning
|
2011-06-01 15:42:49 -03:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:hidden:
|
|
|
|
|
|
|
|
../distutils/index
|