__init__.py 358 Bytes
Newer Older
Stefan Behnel's avatar
Stefan Behnel committed
1 2 3
from __future__ import absolute_import

from .Shadow import __version__
Robert Bradshaw's avatar
Robert Bradshaw committed
4

5
# Void cython.* directives (for case insensitive operating systems).
Stefan Behnel's avatar
Stefan Behnel committed
6
from .Shadow import *
7 8 9 10


def load_ipython_extension(ip):
    """Load the extension in IPython."""
Stefan Behnel's avatar
Stefan Behnel committed
11
    from .Build.IpythonMagic import CythonMagics  # pylint: disable=cyclic-import
12
    ip.register_magics(CythonMagics)