cnoviello / CubeMXImporter

This tool can be used to import projects generated by STM32CubeMX tool inside an Eclipse project created with the GNU ARM Eclipse plugin
102 stars 28 forks source link

CubeMXImporter shebang uses the system python #9

Closed cdwilson closed 7 years ago

cdwilson commented 7 years ago

I'm using https://github.com/yyuu/pyenv to manage multiple python versions on my Mac, and the cubemximporter.py script hard codes the system python into the shebang, i.e.

#!/usr/bin/python

Since lxml is not installed in my Mac system python, the script fails.

Instead, can you use the system environment python to ensure that the correct python executable is used?

#!/usr/bin/env python