sjudson / paseto.js

PASETO: Platform-Agnostic Security Tokens
MIT License
269 stars 16 forks source link

yarn add doesn't work with python 3 #11

Closed vogt31337 closed 5 years ago

vogt31337 commented 5 years ago

Hi,

for some reason during yarn add paseto.js, the installer executed some python 2 code. Which isn't compatible with python 3, maybe add a routine to detect the python version and call the corresponding code.

BR

sjudson commented 5 years ago

Sorry for not responding earlier. I'm a bit short of time at present, and as this can be worked around (temporarily relinking python) I'm not able to prioritize it. I'll make sure to take care of it next time I get around to making library changes, and would be more than happy to accept a PR in the interim.

vogt31337 commented 5 years ago

@sjudson I found out that the problem is with node-gyp, they are using python2.7 and they stated that somehow the python interpreter can be passed as a parameter.

So as this bug is not related to paseto.js, I will close it.