• Raghavendra Prabhu's avatar
    Ensure the install process is PEP-394 compliant. · af74019d
    Raghavendra Prabhu authored
    The installation needs to use python2, but it uses python in the
    Makefile which fails later with syntax error
    (since it is written for python2).
    
    As per PEP-394 - https://www.python.org/dev/peps/pep-0394/ -,
    'all distributions should ensure that python refers to the same target
    as python2 .', hence this change.
    
    Therefore, python2 is used by default in lib/Makefile, though
    this can be overriden with PYTHON_BIN.
    
    Tested with:
    
    a) PYTHON_BIN=python2 make install
    b) make install
    
    c) export PYTHON_BIN=python2
       make test
    
    Signed-off-by: Raghavendra Prabhu <me at rdprabhu dot com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    af74019d
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...