Support running tests with other versions of Python.
[jelmer/dulwich-libgit2.git] / Makefile
1 PYTHON = python
2 SETUP = $(PYTHON) setup.py
3 TRIAL = $(shell which trial)
4
5 all: build 
6
7 build::
8         $(SETUP) build
9         $(SETUP) build_ext -i
10
11 install::
12         $(SETUP) install
13
14 check:: build
15         PYTHONPATH=. $(PYTHON) $(TRIAL) dulwich
16
17 check-noextensions:: clean
18         PYTHONPATH=. $(PYTHON) $(TRIAL) dulwich
19
20 clean::
21         $(SETUP) clean