From 7e10fc771bb3c75a567eb986a3d497cf613d7ef9 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Tue, 16 Mar 2010 11:27:42 -0700 Subject: [PATCH] Fix demo setup.py. --- Demos/setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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( -- 2.26.2