Use Python 2.7 for local build.

This commit is contained in:
Bastian Kleineidam 2011-04-22 08:39:45 +02:00
parent 615dea4731
commit 54a14d0f91
3 changed files with 4 additions and 4 deletions

View file

@ -1,11 +1,11 @@
# This Makefile is only used by developers.
PYVER:=2.6
PYVER:=2.7
PYTHON:=python$(PYVER)
VERSION:=$(shell $(PYTHON) setup.py --version)
MACHINE:=$(shell uname -m)
FILESCHECK_URL:=http://localhost/~calvin/
PYTHONSRC:=${HOME}/src/cpython-hg/Lib
#PYTHONSRC:=/usr/lib/python2.6
#PYTHONSRC:=/usr/lib/$(PYTHON)
PY_FILES_DIRS:=linkcheck tests *.py linkchecker linkchecker-gui cgi-bin config doc
TESTS ?= tests/
# set test options, eg. to "--nologcapture"

View file

@ -1,7 +1,7 @@
# this parser needs flex >= 2.5.xx from http://lex.sf.net/
# for reentrant bison parser support
FLEX = flex
PYINCLUDE=-I/usr/include/python2.6
PYINCLUDE=-I/usr/include/python2.7
#PYINCLUDE="-I/home/calvin/src/python-gitsvn -I/home/calvin/src/python-gitsvn/Include"
all: htmllex.c htmlparse.c

View file

@ -1,4 +1,4 @@
#!/usr/bin/python2.6
#!/usr/bin/python
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2000-2011 Bastian Kleineidam
#