Commit 43342ab9 authored by Stefan Behnel's avatar Stefan Behnel

provide "Cython.Compiler.Main.Version" to keep supporting old PyTables...

provide "Cython.Compiler.Main.Version" to keep supporting old PyTables versions that import it from there

--HG--
extra : transplant_source : %B1%BC%5C%CD%A6%EEmr4B%0F%AF%1C%E0yq9%EA%ADX
parent e2aa8aec
...@@ -22,10 +22,12 @@ from . import Errors ...@@ -22,10 +22,12 @@ from . import Errors
from .Scanning import PyrexScanner, FileSourceDescriptor from .Scanning import PyrexScanner, FileSourceDescriptor
from .Errors import PyrexError, CompileError, error, warning from .Errors import PyrexError, CompileError, error, warning
from .Symtab import ModuleScope from .Symtab import ModuleScope
from .. import __version__ as version
from .. import Utils from .. import Utils
from . import Options from . import Options
from . import Version # legacy import needed by old PyTables versions
version = Version.version # legacy attribute - use "Cython.__version__" instead
module_name_pattern = re.compile(r"[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*$") module_name_pattern = re.compile(r"[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*$")
verbose = 0 verbose = 0
......
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