kivy / kivy/python-for-android

Recipe: `simplepyble`

Open
#3,101 1 comment 0 reactions 0 assignees View on GitHub
feature-request recipe
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Description

1、simplepyble='>0.8.1' in pyproject.toml,simplepyble/_simplepyble.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)
2、build recipe
```from pythonforandroid.recipe import PythonRecipe

class SimplepybleRecipe(PythonRecipe):
version = '0.8.1'
url = 'https://pypi.python.org/packages/source/s/simplepyble/simplepyble-{version}.tar.gz'
depends = ['setuptools']

recipe = SimplepybleRecipe()

```
Traceback (most recent call last):
File "/root/.local/share/python-for-android/build/other_builds/simplepyble/arm64-v8a__ndk_target_24/simplepyble/setup.py", line 8, in
import pybind11

Contributor guide

Open the contributing guide

Research direction

Start with pyproject.toml and the proposed recipe, then inspect simplepyble/setup.py and the reported simplepyble/_simplepyble.so architecture error. Run the Android arm64 build to reproduce the pybind11 failure and compare the recipe with the package’s build requirements. Done means the recipe builds simplepyble for the target architecture without the reported errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
build-system, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.