Cython has moved to github.

cython-devel

view Makefile @ 2688:4e489685efbd

Makefile target for repo.
author Robert Bradshaw <robertwb@math.washington.edu>
date Sun Nov 22 02:29:15 2009 -0800 (2 years ago)
parents 6aa7679a6740
children 11e1de747823
line source
1 PYTHON?=python
2 REPO = http://hg.cython.org/cython-devel
4 all: local
6 local:
7 ${PYTHON} setup.py build_ext --inplace
9 .hg: REV := $(shell cat .hgrev)
10 .hg: TMPDIR := $(shell mktemp -d tmprepo.XXXXXX)
11 .hg:
12 hg clone --rev $(REV) $(REPO) $(TMPDIR)
13 hg -R $(TMPDIR) update
14 mv $(TMPDIR)/.hg .
15 mv $(TMPDIR)/.hgtags .
16 rm -rf $(TMPDIR)
18 repo: .hg
21 clean:
22 @echo Cleaning Source
23 @rm -fr build
24 @rm -f *.pyc */*.pyc */*/*.pyc
25 @rm -f *.so */*.so */*/*.so
26 @rm -f *.pyd */*.pyd */*/*.pyd
27 @rm -f *~ */*~ */*/*~
28 @rm -f core */core
29 @rm -f Cython/Compiler/*.c
30 @rm -f Cython/Plex/*.c
31 @rm -f Cython/Runtime/refnanny.c
32 @(cd Demos; $(MAKE) clean)
34 testclean:
35 rm -fr BUILD
37 test: testclean
38 ${PYTHON} runtests.py -vv
40 test3: testclean
41 ${PYTHON} runtests.py --no-cleanup
42 python3.0 runtests.py -vv --no-cython
44 s5:
45 $(MAKE) -C Doc/s5 slides