From 7d717f7d778521d2e9bf5e26a8c100afeba00576 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Fri, 7 Sep 2007 13:00:32 -0700 Subject: [PATCH] buildfile changes --- Demos/Setup.py | 6 ++++-- Makefile | 2 +- setup.py | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Demos/Setup.py b/Demos/Setup.py index cd49628a..b0d2cb6c 100644 --- a/Demos/Setup.py +++ b/Demos/Setup.py @@ -7,7 +7,9 @@ setup( ext_modules=[ Extension("primes", ["primes.pyx"]), Extension("spam", ["spam.pyx"]), - Extension("numeric_demo", ["numeric_demo.pyx"]), +# Extension("numeric_demo", ["numeric_demo.pyx"]), + Extension("test", ["test.pyx"]), ], - cmdclass = {'build_ext': build_ext} + cmdclass = {'build_ext': build_ext}, +# include_dirs = "/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/" ) diff --git a/Makefile b/Makefile index 4ec14f3f..1ac8bc52 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = 0.9.6 +VERSION = 0.9.6.3 version: @echo "Setting version to $(VERSION)" diff --git a/setup.py b/setup.py index cd1945a1..1dbf023a 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,12 @@ from distutils.core import setup from distutils.sysconfig import get_python_lib import os +import sys from Cython.Compiler.Version import version compiler_dir = os.path.join(get_python_lib(prefix=''), 'Cython/Compiler') +if sys.platform == "win32": + compiler_dir = compiler_dir[len(sys.prefix)+1:] if os.name == "posix": scripts = ["bin/cython"] -- 2.26.2