aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/__init__.py
blob: 549246b8a378c4586e602884a93b317987b7101c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from __future__ import absolute_import

from .Shadow import __version__

# Void cython.* directives (for case insensitive operating systems).
from .Shadow import *


def load_ipython_extension(ip):
    """Load the extension in IPython."""
    from .Build.IpythonMagic import CythonMagics  # pylint: disable=cyclic-import
    ip.register_magics(CythonMagics)