Commit bb51ad16 authored by Marius Gedminas's avatar Marius Gedminas

Support multiple Pythons in the same working tree

This way you can run the tests against several python versions by doing

  make PYTHON_VER=2.6 build test
  make PYTHON_VER=2.7 build test
  make PYTHON_VER=3.2 build test

repeatedly, without having to re-download and recompile the respective
clean Python interpreters.
parent 82992182
HERE = $(shell pwd) HERE = $(shell pwd)
PYTHON_PATH = $(HERE)/python
PYTHON_VER ?= 2.7 PYTHON_VER ?= 2.7
PYTHON_MINOR ?= 2.7.3 PYTHON_MINOR ?= 2.7.3
PYTHON_PATH = $(HERE)/python$(PYTHON_VER)
ifeq ($(PYTHON_VER),2.6) ifeq ($(PYTHON_VER),2.6)
PYTHON_MINOR = 2.6.8 PYTHON_MINOR = 2.6.8
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment