Commit 0fba6e92 authored by Stefan Behnel's avatar Stefan Behnel

import Cython as late as possible

parent 6f790c8f
...@@ -2,7 +2,6 @@ from distutils.core import setup, Extension ...@@ -2,7 +2,6 @@ from distutils.core import setup, Extension
from distutils.sysconfig import get_python_lib from distutils.sysconfig import get_python_lib
import os, os.path import os, os.path
import sys import sys
from Cython.Compiler.Version import version
compiler_dir = os.path.join(get_python_lib(prefix=''), 'Cython/Compiler') compiler_dir = os.path.join(get_python_lib(prefix=''), 'Cython/Compiler')
if sys.platform == "win32": if sys.platform == "win32":
...@@ -95,6 +94,8 @@ except ValueError: ...@@ -95,6 +94,8 @@ except ValueError:
print("Extension module compilation failed, using plain Python implementation") print("Extension module compilation failed, using plain Python implementation")
from Cython.Compiler.Version import version
setup( setup(
name = 'Cython', name = 'Cython',
version = version, version = version,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment