Commit 6c734f76 authored by Stefan Behnel's avatar Stefan Behnel

move 'official' version number to Cython/__init__.py to avoid importing the...

move 'official' version number to Cython/__init__.py to avoid importing the complete compiler package for a version check
parent 4852e38f
version = '0.13' # for backwards compatibility
from Cython import __version__ as version
from Compiler.Version import version as __version__ __version__ = '0.13'
# Void cython.* directives (for case insensitive operating systems). # Void cython.* directives (for case insensitive operating systems).
from Cython.Shadow import * from Cython.Shadow import *
...@@ -197,7 +197,7 @@ except ValueError: ...@@ -197,7 +197,7 @@ except ValueError:
setup_args.update(setuptools_extra_args) setup_args.update(setuptools_extra_args)
from Cython.Compiler.Version import version from Cython import __version__ as version
setup( setup(
name = 'Cython', name = 'Cython',
......
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