Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Make the cythonize command line more useful #1711
Comments
netheril96
commented
May 22, 2017
•
|
I extracted the cython magic into a separate script at https://github.com/netheril96/utilities/blob/master/mycython.py. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
netheril96 commentedMay 21, 2017
•
edited
A couple of more common build options, such as
--numpy,--include_path,--libraries,--cflags,--ldflagsshould be added tocythonizecommand line so that it can be used easily for the majority of building tasks.Setting up a
setup.pyscript for everypyxfile I need to write is really, really tedious, which put me off from cython for years before I finally tried it for the first time (and that was in IPython notebook with cython magic, so I still don't know how to writesetup.py). I am sure that many beginners to cython are just scared of the complicated build process like me, and never have the chance to actually try it. Please make it more accessible.The
%%cythonmagic in IPython has much better sane defaults and useful command line options than thecythonizescript.