Distributing Python Modules (Legacy version)ΒΆ
- Authors
Greg Ward, Anthony Baxter
See also
- Distributing Python Modules
The up to date module distribution documentations
Note
This document is being retained solely until the setuptools documentation
at https://setuptools.readthedocs.io/en/latest/setuptools.html
independently covers all of the relevant information currently included here.
Note
This guide only covers the basic tools for building and distributing extensions that are provided as part of this version of Python. Third party tools offer easier to use and more secure alternatives. Refer to the quick recommendations section in the Python Packaging User Guide for more information.
This document describes the Python Distribution Utilities (βDistutilsβ) from
the module developerβs point of view, describing the underlying capabilities
that setuptools builds on to allow Python developers to make Python modules
and extensions readily available to a wider audience.
- 1. An Introduction to Distutils
- 2. Writing the Setup Script
- 3. Writing the Setup Configuration File
- 4. Creating a Source Distribution
- 5. Creating Built Distributions
- 6. Distutils Examples
- 7. Extending Distutils
- 8. Command Reference
- 9. API Reference
- 9.1.
distutils.coreβ Core Distutils functionality - 9.2.
distutils.ccompilerβ CCompiler base class - 9.3.
distutils.unixccompilerβ Unix C Compiler - 9.4.
distutils.msvccompilerβ Microsoft Compiler - 9.5.
distutils.bcppcompilerβ Borland Compiler - 9.6.
distutils.cygwincompilerβ Cygwin Compiler - 9.7.
distutils.archive_utilβ Archiving utilities - 9.8.
distutils.dep_utilβ Dependency checking - 9.9.
distutils.dir_utilβ Directory tree operations - 9.10.
distutils.file_utilβ Single file operations - 9.11.
distutils.utilβ Miscellaneous other utility functions - 9.12.
distutils.distβ The Distribution class - 9.13.
distutils.extensionβ The Extension class - 9.14.
distutils.debugβ Distutils debug mode - 9.15.
distutils.errorsβ Distutils exceptions - 9.16.
distutils.fancy_getoptβ Wrapper around the standard getopt module - 9.17.
distutils.filelistβ The FileList class - 9.18.
distutils.logβ Simple PEP 282-style logging - 9.19.
distutils.spawnβ Spawn a sub-process - 9.20.
distutils.sysconfigβ System configuration information - 9.21.
distutils.text_fileβ The TextFile class - 9.22.
distutils.versionβ Version number classes - 9.23.
distutils.cmdβ Abstract base class for Distutils commands - 9.24. Creating a new Distutils command
- 9.25.
distutils.commandβ Individual Distutils commands - 9.26.
distutils.command.bdistβ Build a binary installer - 9.27.
distutils.command.bdist_packagerβ Abstract base class for packagers - 9.28.
distutils.command.bdist_dumbβ Build a βdumbβ installer - 9.29.
distutils.command.bdist_msiβ Build a Microsoft Installer binary package - 9.30.
distutils.command.bdist_rpmβ Build a binary distribution as a Redhat RPM and SRPM - 9.31.
distutils.command.bdist_wininstβ Build a Windows installer - 9.32.
distutils.command.sdistβ Build a source distribution - 9.33.
distutils.command.buildβ Build all files of a package - 9.34.
distutils.command.build_clibβ Build any C libraries in a package - 9.35.
distutils.command.build_extβ Build any extensions in a package - 9.36.
distutils.command.build_pyβ Build the .py/.pyc files of a package - 9.37.
distutils.command.build_scriptsβ Build the scripts of a package - 9.38.
distutils.command.cleanβ Clean a package build area - 9.39.
distutils.command.configβ Perform package configuration - 9.40.
distutils.command.installβ Install a package - 9.41.
distutils.command.install_dataβ Install data files from a package - 9.42.
distutils.command.install_headersβ Install C/C++ header files from a package - 9.43.
distutils.command.install_libβ Install library files from a package - 9.44.
distutils.command.install_scriptsβ Install script files from a package - 9.45.
distutils.command.registerβ Register a module with the Python Package Index - 9.46.
distutils.command.checkβ Check the meta-data of a package
- 9.1.
