##// END OF EJS Templates
use cache directory for cython files...
Julian Taylor -
Show More
@@ -59,6 +59,7 b' from IPython.core import magic_arguments'
59 59 from IPython.core.magic import Magics, magics_class, cell_magic
60 60 from IPython.testing.skipdoctest import skip_doctest
61 61 from IPython.utils import py3compat
62 from IPython.utils.path import get_ipython_cache_dir
62 63
63 64 import Cython
64 65 from Cython.Compiler.Errors import CompileError
@@ -192,7 +193,7 b' class CythonMagics(Magics):'
192 193 """
193 194 args = magic_arguments.parse_argstring(self.cython, line)
194 195 code = cell if cell.endswith('\n') else cell+'\n'
195 lib_dir = os.path.join(self.shell.ipython_dir, 'cython')
196 lib_dir = os.path.join(get_ipython_cache_dir(), 'cython')
196 197 quiet = True
197 198 key = code, sys.version_info, sys.executable, Cython.__version__
198 199
General Comments 0
You need to be logged in to leave comments. Login now