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

Use Python's compileall module instead of pycompile to byte-compile

debpython module as logging module is not available in pythonX.Y-minimal
package (Closes: 586743)
parent b3a61017
No related branches found
Tags debian/2.6.5-5
No related merge requests found
python-defaults (2.6.5-5) unstable; urgency=medium
* Use Python's compileall module instead of pycompile to byte-compile
debpython module as logging module is not available in pythonX.Y-minimal
package (Closes: 586743)
-- Piotr Ożarowski <piotr@debian.org> Tue, 22 Jun 2010 10:46:48 +0200
python-defaults (2.6.5-4) unstable; urgency=low
[ Piotr Ożarowski ]
......
#! /bin/sh -e
pycompile -p python-minimal
# runpy.py is not available in pythonX.Y-minimal and thus "python -m compileall"
# cannot be used, temporary workaround:
python /usr/lib/python2.6/compileall.py /usr/share/python/ >/dev/null
#DEBHELPER#
#! /bin/sh -e
pyclean -p python-minimal
find /usr/share/python/ -name '*.py[oc]' -delete
#DEBHELPER#
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