diff setup.py @ 43341:92a51a45d44c stable

packaging: be explicit about Python version in rpm spec Fedora 31 has Python3 at /usr/bin/python ... but expect everybody to not just find python in $PATH but be explicit about whether they want python2 or python3. mercurial.spec just used 'python' and would fail when it unknowingly used Python 3 and ended up with Mercurial setup.py reporting "Python 3.7 detected." and talking about the HGPYTHON3 environment variable. For now, just be explicit about using system python2 as python executable when building rpms.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 27 Oct 2019 21:40:21 +0100
parents 2372284d9457
children c3e10f705a6c
line wrap: on
line diff