From: Robert Bradshaw Date: Tue, 16 Mar 2010 18:27:42 +0000 (-0700) Subject: Fix demo setup.py. X-Git-Tag: 0.13.beta0~278 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e10fc771bb3c75a567eb986a3d497cf613d7ef9;p=cython.git Fix demo setup.py. --- diff --git a/Demos/setup.py b/Demos/setup.py index c32949ae..60cbeb81 100644 --- a/Demos/setup.py +++ b/Demos/setup.py @@ -13,11 +13,10 @@ except: ext_modules=[ Extension("primes", ["primes.pyx"]), Extension("spam", ["spam.pyx"]), - Extension("square", ["square.pyx"], language="c++"), ] for file in glob.glob("*.pyx"): - if file != "numeric_demo.pyx" and file != "square.pyx": + if file != "numeric_demo.pyx": ext_modules.append(Extension(file[:-4], [file], include_dirs = numpy_include_dirs)) setup(