forked from auracaster/bumble_mirror
Merge pull request #869 from timrid/android-fix
Make bumble work on Android using briefcase/chaquopy
This commit is contained in:
@@ -15,15 +15,20 @@ dependencies = [
|
|||||||
"aiohttp ~= 3.8; platform_system!='Emscripten'",
|
"aiohttp ~= 3.8; platform_system!='Emscripten'",
|
||||||
"appdirs >= 1.4; platform_system!='Emscripten'",
|
"appdirs >= 1.4; platform_system!='Emscripten'",
|
||||||
"click >= 8.1.3; platform_system!='Emscripten'",
|
"click >= 8.1.3; platform_system!='Emscripten'",
|
||||||
"cryptography >= 44.0.3; platform_system!='Emscripten'",
|
"cryptography >= 44.0.3; platform_system!='Emscripten' and platform_system!='Android'",
|
||||||
# Pyodide bundles a version of cryptography that is built for wasm, which may not match the
|
# Pyodide bundles a version of cryptography that is built for wasm, which may not match the
|
||||||
# versions available on PyPI. Relax the version requirement since it's better than being
|
# versions available on PyPI. Relax the version requirement since it's better than being
|
||||||
# completely unable to import the package in case of version mismatch.
|
# completely unable to import the package in case of version mismatch.
|
||||||
"cryptography >= 44.0.3; platform_system=='Emscripten'",
|
"cryptography >= 44.0.3; platform_system=='Emscripten'",
|
||||||
|
# Android wheels for cryptography are not yet available on PyPI, so chaquopy uses
|
||||||
|
# the builds from https://chaquo.com/pypi-13.1/cryptography/. But these are not regually
|
||||||
|
# updated. Relax the version requirement since it's better than being completely unable
|
||||||
|
# to import the package in case of version mismatch.
|
||||||
|
"cryptography >= 42.0.8; platform_system=='Android'",
|
||||||
"grpcio >= 1.62.1; platform_system!='Emscripten'",
|
"grpcio >= 1.62.1; platform_system!='Emscripten'",
|
||||||
"humanize >= 4.6.0; platform_system!='Emscripten'",
|
"humanize >= 4.6.0; platform_system!='Emscripten'",
|
||||||
"libusb1 >= 2.0.1; platform_system!='Emscripten'",
|
"libusb1 >= 2.0.1; platform_system!='Emscripten'",
|
||||||
"libusb-package == 1.0.26.1; platform_system!='Emscripten'",
|
"libusb-package == 1.0.26.1; platform_system!='Emscripten' and platform_system!='Android'",
|
||||||
"platformdirs >= 3.10.0; platform_system!='Emscripten'",
|
"platformdirs >= 3.10.0; platform_system!='Emscripten'",
|
||||||
"prompt_toolkit >= 3.0.16; platform_system!='Emscripten'",
|
"prompt_toolkit >= 3.0.16; platform_system!='Emscripten'",
|
||||||
"prettytable >= 3.6.0; platform_system!='Emscripten'",
|
"prettytable >= 3.6.0; platform_system!='Emscripten'",
|
||||||
|
|||||||
Reference in New Issue
Block a user