[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ A ] [ B ] [ C ] [ next ]

# Debian Python Policy
Appendix A - Build Dependencies

Build dependencies for Python dependent packages must be declared for every Python version that the package is built for. The `python-all-dev` should be used when building extensions for any or all Python versions. To build for a specific version or versions, Build-Depend on `pythonX.Y-dev`.

Some applications and pure Python modules may be able to build-depend only on `python` or `python-all` and not require the -dev packages. Packages that do not require the -dev packages must not build-depend on them.

Build-Depend on at least:

         Build-Depends: python2.7
         Build-Depends: python2.6 (>= 2.6-1)
         Build-Depends: python (>= 2.6.6-9)
         Build-Depends: python-all

         Build-Depends: python2.7-dev
         Build-Depends: python2.6-dev (>= 2.6-1)
         Build-Depends: python-dev (>= 2.6.6-9)
         Build-Depends: python-all-dev
         Build-Depends: python3-all-dev (>= 3.2)

If you use either `python-support` or `python-central` you must additionally Build-Depend on those.

[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ A ] [ B ] [ C ] [ next ]

Debian Python Policy