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

Add extra options for installation via setuptools #438

Merged
merged 1 commit into from
Nov 14, 2018
Merged

Conversation

KeyWeeUsr
Copy link
Contributor

More comfortable than using try/except and shut the user down with a warning. Instead we should provide an interface to install the conditional requirement, i.e. in this case pyjnius for Android platform and pyobjus for macOS/iOS.

Choosing non-intrusive installation option because it might break stuff for mobile platforms if enforcing the requirements on pyobjus/pyjnius + there are no releases of pyobjus/pyjnius yet (wip), therefore:

pip install plyer[macosx]

will for now just crash. The dev option will work though.

@KeyWeeUsr
Copy link
Contributor Author

Ref 3892b41#r29926423, but we still need pyobjus released and for that we need CArray fixed (tests failed) at least and then port it to py3. I'll push my work for py3 to new branch in pyobjus and perhaps someone can figure out how to push it further.

@KeyWeeUsr
Copy link
Contributor Author

Last step is waiting for merge + release, ref kivy/pyobjus#45.

@KeyWeeUsr KeyWeeUsr merged commit 7ce8ca0 into master Nov 14, 2018
@KeyWeeUsr KeyWeeUsr deleted the setup_extras branch November 14, 2018 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant