From: Robert Bradshaw Date: Fri, 7 Sep 2007 20:00:32 +0000 (-0700) Subject: buildfile changes X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d717f7d778521d2e9bf5e26a8c100afeba00576;p=cython.git buildfile changes --- 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"]