Cython has moved to github.
cython-devel
view Makefile @ 4256:b816b03ff502
Make __new__ -> __cinit__ into an error, fix compiler crash.
| author | Robert Bradshaw <robertwb@math.washington.edu> |
|---|---|
| date | Tue Dec 21 02:09:22 2010 -0800 (17 months ago) |
| parents | 3932a0be3b6b |
| children |
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)/.hgignore .
16 mv $(TMPDIR)/.hgtags .
17 rm -rf $(TMPDIR)
19 repo: .hg
22 clean:
23 @echo Cleaning Source
24 @rm -fr build
25 @rm -f *.py[co] */*.py[co] */*/*.py[co] */*/*/*.py[co]
26 @rm -f *.so */*.so */*/*.so
27 @rm -f *.pyd */*.pyd */*/*.pyd
28 @rm -f *~ */*~ */*/*~
29 @rm -f core */core
30 @rm -f Cython/Compiler/*.c
31 @rm -f Cython/Plex/*.c
32 @rm -f Cython/Runtime/refnanny.c
33 @(cd Demos; $(MAKE) clean)
35 testclean:
36 rm -fr BUILD
38 test: testclean
39 ${PYTHON} runtests.py -vv
41 s5:
42 $(MAKE) -C Doc/s5 slides
