@@ -22,15 +22,19 @@ endif
2222ifeq ($(DEB_DISTRO ) ,bionic)
2323 PYTHON_BINARY := /usr/bin/python3
2424 PIP_BINARY := /usr/bin/pip3
25+ else ifeq ($(DEB_DISTRO),xenial)
26+ PYTHON_BINARY := /usr/bin/python3.6
27+ PIP_BINARY := /usr/local/bin/pip3.6
2528else ifeq ($(EL_VERSION),8)
2629 PYTHON_BINARY := /usr/bin/python3
2730 PIP_BINARY := /usr/local/bin/pip3
2831else ifeq ($(EL_VERSION),7)
2932 PYTHON_BINARY := /usr/bin/python3
3033 PIP_BINARY := /usr/local/bin/pip3
3134else
32- PYTHON_BINARY := python
33- PIP_BINARY := pip
35+ PYTHON_BINARY := /usr/bin/python3
36+ PIP_BINARY := pip3
37+ PYTHON_ALT_BINARY := python3
3438endif
3539
3640# Moved from top of file to handle when only py2 or py3 available
@@ -62,9 +66,7 @@ populate_version: .stamp-populate_version
6266
6367requirements : .stamp-requirements
6468.stamp-requirements :
65- # Don't include Mistral runner for now, replace with commented version when mistral removed from st2
66- # $(PYTHON_BINARY) ../scripts/fixate-requirements.py -s in-requirements.txt -f ../fixed-requirements.txt
67- $(PYTHON_BINARY) ../scripts/fixate-requirements.py --skip=stackstorm-runner-mistral-v2,python-mistralclient -s in-requirements.txt -f ../fixed-requirements.txt
69+ $(PYTHON_BINARY ) ../scripts/fixate-requirements.py -s in-requirements.txt -f ../fixed-requirements.txt
6870 cat requirements.txt
6971
7072wheelhouse : .stamp-wheelhouse
0 commit comments