Navigation

  • index
  • next |
  • Debian Python Policy 0.12.0.0 documentation »
  • Abstract

Abstract¶

This document describes the packaging of Python within the Debian GNU/Linux distribution and the policy requirements for packaged Python programs and modules.

Contents¶

  • 1. Copyright
  • 2. Completing the move to Python 3
  • 3. Python Packaging
    • 3.1. Versions
    • 3.2. Main packages
    • 3.3. Minimal packages
    • 3.4. Python Interpreter
      • 3.4.1. Interpreter Name
      • 3.4.2. Interpreter Location
    • 3.5. Module Path
    • 3.6. Hooks for updates to installed runtimes
    • 3.7. Documentation
  • 4. Packaged Modules
    • 4.1. Types of Python Modules
    • 4.2. Wheels
    • 4.3. Module Package Names
    • 4.4. Specifying Supported Versions
    • 4.5. Dependencies
    • 4.6. Provides
    • 4.7. Modules Byte-Compilation
  • 5. Python Programs
    • 5.1. Interpreter directive (“Shebang”)
    • 5.2. Programs using the default Python
    • 5.3. Programs Shipping Private Modules
    • 5.4. Programs Using a Particular Python Version
  • 6. Programs Embedding Python
    • 6.1. Building Embedded Programs
    • 6.2. Embedded Python Dependencies
  • 7. Interaction with Locally Installed Python Versions

Appendix¶

  • 1. Build Dependencies
  • 2. Packaging Tools
    • 2.1. distutils
    • 2.2. setuptools
    • 2.3. dh-python
    • 2.4. pybuild
    • 2.5. CDBS
    • 2.6. python-support (removed)
    • 2.7. python-central (removed)
  • 3. Upgrade Procedure
  • 4. This document

Indices and tables¶

  • Index

  • Module Index

  • Search Page

Table of Contents

  • Abstract
  • Contents
  • Indices and tables

Next topic

1. Copyright

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • Debian Python Policy 0.12.0.0 documentation »
  • Abstract
© Copyright 1999-2021, Software in the Public Interest. Created using Sphinx 3.4.3.