kivy / kivy/python-for-android

Recipe: `simplepyble`

未关闭
#3,101 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature-request recipe
主要语言
Python
星标
8.9k
派生
2k
平均合并
12 小时 20 分钟
30 天内合并 PR
9

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
android, python
领域
build-system, mobile
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。