diff options
author | Martín Gaitán <gaitan@gmail.com> | 2014-05-05 02:33:06 -0300 |
---|---|---|
committer | Martín Gaitán <gaitan@gmail.com> | 2014-05-05 02:33:06 -0300 |
commit | 4a64dcb8e3ca6bfb91cd28755aa1a9790801a861 (patch) | |
tree | e7610b87bba6670207b63a89afaddc73e3fa19dd | |
parent | 3af10546833924ff4ddb4e911b4c52ccaf261dbc (diff) | |
download | cython-4a64dcb8e3ca6bfb91cd28755aa1a9790801a861.tar.gz |
make `%load_ext cython` still valid
-rwxr-xr-x | cython.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,7 @@ if __name__ == '__main__': import os import sys - + # Make sure we import the right Cython cythonpath, _ = os.path.split(os.path.realpath(__file__)) sys.path.insert(0, cythonpath) @@ -21,3 +21,4 @@ else: from Cython.Shadow import * ## and bring in the __version__ from Cython import __version__ + from Cython import load_ipython_extension |