Open hanwentao opened 10 years ago
This is a limitation of setuptools. It has no way to distribute the powerline-client C implemetation as a script. Your traeback is being called because something is trying to parse the compiled powerline-client as a python script, which it is not.
I haven't really kept up with what is happening with setuptools/pip/whatever other idiotic packaging solution python is using at the moment, so I have no idea how to fix this. You can either change setup.py to not try to compile the C client, or install it by hand (it's just two self contained files).
I just had to deal with this, fwiw: habnabit/passacre@2ea05ba94eab2d26951ae7b4b51abf53132b20f0.
It seems that python3 does more rigorous check in
scripts
keyword.