Skip to content
Snippets Groups Projects
Commit 790c75f9 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

* Use versioned interpreter name rather than "python" only in...

* Use versioned interpreter name rather than "python" only in python-minimal.postinst (closes: 595826)
* ducument how to regenerate dist_fallback file
parent 98ca469d
No related branches found
No related tags found
No related merge requests found
......@@ -25,3 +25,13 @@ How to bump minimum required python version by dh_python2?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Open debpython/depends.py file and edit `MINPYCDEP` variable around line 26
How to regenerate dist_fallback file for dh_python2?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please note that we recommend to extend this file instead
(i.e. removing items from it can break other packages' dependencies)
* Update pydist/sources.list file to point to your distro/suit
* Remove pydist/dist_fallback file
* Run `make dist_fallback`
......@@ -10,8 +10,8 @@ python-defaults (2.6.6-2) UNRELEASED; urgency=low
fall back to package name recommended by Debian Python Policy (use
debian/pydist-override file to override)
- TODO: disable PyDist feature if dh_pydeb is in debian/rules
* use /usr/bin/python rather than python in python-minimal.postinst
(closes: 595826)
* Use versioned interpreter name rather than "python" only in
python-minimal.postinst (closes: 595826)
[ Matthias Klose ]
* python.mk (py_libdir): Return /usr/lib/python3/dist-packages for 3.x
......
#! /bin/sh
set -e
/usr/bin/python -m compileall /usr/share/python/ >/dev/null
python@VER@ -m compileall /usr/share/python/ >/dev/null
#DEBHELPER#
......@@ -5,10 +5,10 @@ clean:
#rm -f dist_fallback
rm -f README.PyDist.html
dist_fallback:
dist_fallback: sources.list
python ./generate_fallback_list.py --skip-sensible-names
README.PyDist.html: README.PyDist
rst2html README.PyDist $@
rst2html $< $@
.PHONY: clean
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment