youtube / spitfire

A high-performance Python template language
BSD 3-Clause "New" or "Revised" License
403 stars 59 forks source link

Conditionally disable C extensions when building for PyPy #50

Closed nicksay closed 8 years ago

nicksay commented 8 years ago

Also, cleaning up the formatting of the setup.py file.

Progress on #49

nicksay commented 8 years ago

That's a good point, but if they run the setup script with PyPy, the extensions won't build as-is (https://travis-ci.org/nicksay/spitfire/jobs/113529696). I haven't check to be sure, but I think we can use virtualenv to handle this case