BruceSherwood / vpython-jupyter

This repository has been moved to https://github.com/vpython/vpython-jupyter
64 stars 33 forks source link

Please do NOT merge yet: Change setup.py to use cython only if cython is installed #19

Closed mwcraig closed 8 years ago

mwcraig commented 8 years ago

This PR modifies setup.py so that Cython is used during installation only if Cython is installed. If it is not, the cythonized C file generated when the source distribution is made is built as a standard C extension.

This will likely have no impact on mac or Windows users because we have binary wheels for those, and no effect on conda users.

It will simplify installation for Linux users.

I would like to add a test on travis that makes sure the built distribution can be built on linux without error before this gets merged.