From 55f0e741a1a2959c62ef098f87b18a321f4cc783 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20O=C5=BCarowski?= <piotr@debian.org>
Date: Tue, 26 Jun 2012 00:14:57 +0200
Subject: [PATCH] add information about overriging list of supported Python
 versions

---
 dh_python2.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/dh_python2.rst b/dh_python2.rst
index 0b44a7d..89b9ab6 100644
--- a/dh_python2.rst
+++ b/dh_python2.rst
@@ -99,6 +99,16 @@ Examples:
  * `*.pth` (removes .pth files from .../dist-packages/)
  * `bar/baz.py 2.5` (removes .../python2.5/site-packages/bar/baz.py)
 
+overriding supported / default Python versions
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+If you want to override system's list of supported Python versions or the
+default one (f.e. to build a package that includes symlinks for older version
+of Python or compile .py files only for given interpreter version), you can do
+that via DEBPYTHON_SUPPORTED and/or DEBPYTHON_DEFAULT env. variables.
+
+Example: "2.5,2.7" limits the list of supported Python versions to Python 2.5
+and Python 2.7.
+
 
 OPTIONS
 =======
-- 
GitLab