libnonius / nonius

A C++ micro-benchmarking framework
https://nonius.io
Creative Commons Zero v1.0 Universal
359 stars 47 forks source link

bootstrap.py hardcodes Python binary #80

Open TheCatPlusPlus opened 8 years ago

TheCatPlusPlus commented 8 years ago

On Windows py.exe launcher has been around for a long time, and python.exe shouldn't be in PATH. Which makes the build fail. Also it's a good idea to make hashbangs specify python2 or python3 explicitly (Windows launcher understands these too and switches accordingly).

Should have a way to specify the binary and/or use the full path from sys.executable.