buildfile changes
authorRobert Bradshaw <robertwb@math.washington.edu>
Fri, 7 Sep 2007 20:00:32 +0000 (13:00 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Fri, 7 Sep 2007 20:00:32 +0000 (13:00 -0700)
Demos/Setup.py
Makefile
setup.py

index cd49628a5a8c8bc9503c53381070e0c3e12f8119..b0d2cb6ce6500f1ed5ef5023a7207500b719da79 100644 (file)
@@ -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/"
 )
index 4ec14f3f675e066e92c1824aa2336d3d7f5b209f..1ac8bc527c6132c7c32a8b326adc73d7ed111c06 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = 0.9.6
+VERSION = 0.9.6.3
 
 version:
        @echo "Setting version to $(VERSION)"
index cd1945a1c4192dee43753c3a34a776f79e7a7537..1dbf023ad1729c90ba3296eb21c6d872c309821e 100644 (file)
--- 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"]