1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
PACKAGENAME=Cython
-PYTHON?=python
+PYTHON?=python3
TESTOPTS?=
REPO = git://github.com/cython/cython.git
VERSION?=$(shell sed -ne 's|^__version__\s*=\s*"\([^"]*\)".*|\1|p' Cython/Shadow.py)
--- a/Demos/Makefile
+++ b/Demos/Makefile
@@ -1,11 +1,11 @@
all:
- python setup.py build_ext --inplace
+ python3 setup.py build_ext --inplace
test: all
- python run_primes.py 20
- python run_numeric_demo.py
- python run_spam.py
- python integrate_timing.py
+ python3 run_primes.py 20
+ python3 run_numeric_demo.py
+ python3 run_spam.py
+ python3 integrate_timing.py
cd callback; $(MAKE) test
cd embed; $(MAKE) test
--- a/Demos/callback/Makefile
+++ b/Demos/callback/Makefile
@@ -1,8 +1,8 @@
all:
- python Setup.py build_ext --inplace
+ python3 Setup.py build_ext --inplace
test: all
- python run_cheese.py
+ python3 run_cheese.py
clean:
@echo Cleaning Demos/callback
--- a/Demos/embed/Makefile
+++ b/Demos/embed/Makefile
@@ -1,5 +1,5 @@
# Makefile for creating our standalone Cython program
-PYTHON := python
+PYTHON := python3
PYVERSION := $(shell $(PYTHON) -c "import sys; print(sys.version[:3])")
PYPREFIX := $(shell $(PYTHON) -c "import sys; print(sys.prefix)")
--- a/Demos/freeze/Makefile
+++ b/Demos/freeze/Makefile
@@ -1,7 +1,7 @@
CC = gcc
CYTHON = ../../bin/cython
CYTHON_FREEZE = ../../bin/cython_freeze
-PYTHON = python
+PYTHON = python3
RST2HTML = rst2html
PY_LDFLAGS = $(shell $(PYTHON) -c 'from distutils.sysconfig import get_config_var as g; import sys; sys.stdout.write(" ".join([g("LINKFORSHARED"), "-L"+g("LIBPL")]) + "\n")')
|