python #! path is fixed by setuptools, replacing it via the Makefile makes ansible_python_interpreter variable change name to ansible_python2.7_interpreter, leading to confusion

This commit is contained in:
Anders Mundt Due 2016-03-12 11:00:03 +01:00
parent 3786d8d63a
commit 709e3b5c5a

View file

@ -44,12 +44,6 @@ SUBST_SED.prefix= -e "s,@PREFIX@,${PREFIX},"
SUBST_SED.prefix+= -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},"
SUBST_SED.prefix+= -e "s,@PYSITELIB@,${PYSITELIB},"
SUBST_CLASSES+= pythonbin
SUBST_STAGE.pythonbin= pre-configure
SUBST_FILES.pythonbin= Makefile
SUBST_MESSAGE.pythonbin= Fixing path to PYTHONBIN.
SUBST_SED.pythonbin= -e "s,PYTHON=python,PYTHON=${PYTHONBIN},"
PY_DIRS= lib/ansible contrib/inventory
.for f in `find ${PY_DIRS} -name \*.py`