Better setup.py pyximport installation
authorRobert Bradshaw <robertwb@math.washington.edu>
Sun, 17 Aug 2008 00:28:59 +0000 (17:28 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sun, 17 Aug 2008 00:28:59 +0000 (17:28 -0700)
Cython/Compiler/Version.py
setup.py

index a92662a3fb20ef8e59582f80a1d688148e2fb96b..b9bab3d1666754a422cacf0a07d86625c3ff1fb5 100644 (file)
@@ -1 +1 @@
-version = '0.9.8'
+version = '0.9.8.1rc1'
index fa272c95cafbd3edd434dfb9d343bfffd62b5b98..b11bc4720da244c08eb038a513a0f1bf3abba194 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -98,11 +98,9 @@ setup(
     'Cython.Tests',
     'Cython.Compiler.Tests',
     ],
+  
+  # pyximport
+  py_modules = ["pyximport/pyximport", "pyximport/pyxbuild"],
+  
   **setup_args
   )
-
-
-# Now install pyximport
-os.chdir('pyximport')
-os.spawnlp(os.P_WAIT, 'python', 'python', 'Setup.py', *sys.argv[1:])
-os.chdir('..')