Skip to content
Discussion options

You must be logged in to vote

wfdb needs no mobile-forge recipe — it already works on both platforms straight from PyPI.

It is pure Python (wfdb-4.3.1-py3-none-any.whl), and every native package in its dependency tree already has mobile wheels: numpy, scipy, pandas, matplotlib, contourpy, kiwisolver, pillow from pypi.flet.dev, and aiohttp / charset-normalizer from PyPI's own Android/iOS wheels. fsspec and requests are pure Python.

Example

requires-python = ">=3.12"
dependencies = [
    "flet",
    "wfdb==4.3.1",
]

Add the below only if your app plots (wfdb.plot_items / plot_wfdb, or your own matplotlib import):

[tool.flet.android]
extract_packages = ["matplotlib"]

matplotlib reads mpl-data/matplotlibrc through a real _…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants