Skip to content

Commit

Permalink
import Cython as late as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Behnel committed Aug 21, 2009
1 parent 6f790c8 commit 0fba6e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from distutils.sysconfig import get_python_lib
import os, os.path
import sys
from Cython.Compiler.Version import version

compiler_dir = os.path.join(get_python_lib(prefix=''), 'Cython/Compiler')
if sys.platform == "win32":
Expand Down Expand Up @@ -95,6 +94,8 @@ def build_extension(self, ext, *args, **kargs):
print("Extension module compilation failed, using plain Python implementation")


from Cython.Compiler.Version import version

setup(
name = 'Cython',
version = version,
Expand Down

0 comments on commit 0fba6e9

Please sign in to comment.