Skip to content

cannot find local recipe #1861

Description

@Fak3

p4a version: git master
os: opensuse tumbleweed

i have created ./recipes dir with __init__.py and kivy_async.py:

from pythonforandroid.recipes.kivy import KivyRecipe
class KivyAsyncRecipe(KivyRecipe):
    version = '1.11.0'
    url = 'https://github.com/matham/kivy/archive/async-support.zip'
    name = 'kivy_async'
recipe = KivyAsyncRecipe()

I tried to build apk with this custom recipe:
p4a apk --private /home/z/pproj/paradox_ssh/ --version=1.7 --bootstrap=sdl2 --local-recipes="./recipes" --requirements=python3,kivy_async,openssl,sqlite3,pillow,requests,sdl2,plyer --whitelist=./whitelist.txt --permission=CALL_PHONE --permission=INTERNET --orientation=portrait --package=org.spbelect.paradox2 --name="paradox2" --release

Got an error:

No matching distribution found for kivy_async (from -r requirements.txt (line 1))

full p4a log: https://gist.github.com/Fak3/8a86d95421bc0694be23dfbc02e9923d

I tried to add debugger statements to my ./recipes/__init__.py but it looks like it never gets executed (imported)
import ipdb; ipdb.sset_trace()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions