jakeret / hope

HOPE: A Python Just-In-Time compiler for astrophysical computations
GNU General Public License v3.0
382 stars 28 forks source link

py3k: fixed version detection #7

Closed xantares closed 9 years ago

xantares commented 9 years ago

the commands modules was removed in python3, use subprocess instead

cosmo-ethz commented 9 years ago

It looks like this breaks some of the unit tests in test_options. I'm patching the commands.getoutput there. This should be replaced with subprocess.check_output