[IPython-dev] How did Cython magic know to include np.get_include()?
Yuxiang Wang
yw5aj at virginia.edu
Fri Apr 3 22:35:42 EDT 2015
Hi all,
When I use %%cython magic, it automatically knows to include the
np.get_include(), which works really great. But just being curious - how
was that achieved? Did the code detect whether numpy was imported, and if
yes it will add np.get_include to the include_dirs?
Shawn
--
Yuxiang "Shawn" Wang
Gerling Research Lab
University of Virginia
yw5aj at virginia.edu
+1 (434) 284-0836
https://sites.google.com/a/virginia.edu/yw5aj/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150403/84dc7062/attachment.html>
More information about the IPython-dev
mailing list