Skip to content

Commit

Permalink
fix up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Mar 28, 2016
1 parent 1d8f1a0 commit 27e060c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Cython/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
from Cython.Shadow import __version__
from __future__ import absolute_import

from .Shadow import __version__

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


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

0 comments on commit 27e060c

Please sign in to comment.