Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Termux support #360

Closed
traverseda opened this issue Jul 25, 2017 · 1 comment
Closed

[Feature Request] Termux support #360

traverseda opened this issue Jul 25, 2017 · 1 comment

Comments

@traverseda
Copy link

traverseda commented Jul 25, 2017

It would be very nice if I could "pip install plyer" inside my termux session, and have plyer work. The issue seems to be that it's identyfing the platform as linux. Not incorrectly, since it is a gnu/linux subsystem for android/linux, but you should have raw access to whatever, since it normally runs as root.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@KeyWeeUsr
Copy link
Contributor

The android or iOS platform is set according to the availability of a specific environment variable like here:

if self._platform_android is None:

For Android, however, you need PyJNIus which needs to be compiled, otherwise you won't be able to access the API anyway. Can you compile PyJNIus somehow within termux? If not, I'll close the issue, since implementing the platform check won't actually provide any working functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants