1

我正在尝试使用 stdeb 对需要 Python 2.6 的 python 包进行 debianize。构建失败,因为它强制 setup.py 与 python2.5 一起运行,它无法解析导致最终结果的 python 2.6“except Exception as e”语法:

dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

我使用 python-stdeb 0.6.0-1、debhelper 8.0.0、dpkg 1.15.8.13 和 devscripts 2.10.69+squeeze4 在 Debian Squeeze 上运行它。

那么,有没有办法告诉 debuild “请使用 python 2.6,非常感谢”?

4

0 回答 0