[Numpy-discussion] Cython requirement?
Benjamin Root
ben.root at ou.edu
Sun Jul 6 14:40:01 EDT 2014
When did Cython become a build requirement? I remember discussing the use
of Cython a while back, and IIRC the agreement was that both the cython
code and the generated C files would be included in version control so that
cython wouldn't be a build requirement, only a developer requirement when
modifying those files.
I just did a git clean -fxd and rebase to current master, and I am getting
a message indicating that I need Cython 0.19 to build numpy (I haven't
updated cython in ages on this particular machine).
ben at tigger:~/Programs/numpy$ python setup.py install --user
Running from numpy source directory.
Cythonizing sources
Processing numpy/random/mtrand/mtrand.pyx
Traceback (most recent call last):
File "/home/ben/Programs/numpy/tools/cythonize.py", line 199, in <module>
main()
File "/home/ben/Programs/numpy/tools/cythonize.py", line 195, in main
find_process_files(root_dir)
File "/home/ben/Programs/numpy/tools/cythonize.py", line 187, in
find_process_files
process(cur_dir, fromfile, tofile, function, hash_db)
File "/home/ben/Programs/numpy/tools/cythonize.py", line 161, in process
processor_function(fromfile, tofile)
File "/home/ben/Programs/numpy/tools/cythonize.py", line 59, in
process_pyx
raise Exception('Building %s requires Cython >= 0.19' % VENDOR)
Exception: Building NumPy requires Cython >= 0.19
Traceback (most recent call last):
File "setup.py", line 251, in <module>
setup_package()
File "setup.py", line 239, in setup_package
generate_cython()
File "setup.py", line 191, in generate_cython
raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140706/01df39b1/attachment.html>
More information about the NumPy-Discussion
mailing list