I renamed this issue and contents a couple of times because I'm silly and confused about PIL & pillow. Anyway, the state is that none of them are available with python3crystax since PIL is hard-wired to python 2 and --requirements=pillow doesn't work, since without a recipe it packages the wrong .so library (incorrect architecture). That means, effectively, no PIL/pillow for any python 3 app which is unfortunate 😢
old issue text:
The "pil" recipe is misguidedly hardwired to python 2:
depends = ['python2', 'png', 'jpeg']
This breaks the build with Python 3:
# p4a apk --debug --private /my-app/ --orientation user --window --package=org.example.myapp --name "My application" --version 0.1 --bootstrap=sdl2 --requirements=python3crystax,pil,sdl2,pysdl2,pyjnius --arch=armeabi-v7a
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Crystax NDK 10.3.2
[INFO]: Found virtualenv at /usr/bin/virtualenv
[INFO]: ccache is missing, the build will not be optimized in the future.
[INFO]: Found the following toolchain versions: ['4.9', '5', 'clang3.6', 'clang3.7']
[INFO]: Picking the latest gcc toolchain, here 5
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[ERROR]: Didn't find any valid dependency graphs.
[ERROR]: This means that some of your requirements pull in conflicting dependencies.
[ERROR]: Exiting.
I suggest this should be fixed.
I renamed this issue and contents a couple of times because I'm silly and confused about PIL & pillow. Anyway, the state is that none of them are available with
python3crystaxsincePILis hard-wired to python 2 and--requirements=pillowdoesn't work, since without a recipe it packages the wrong.solibrary (incorrect architecture). That means, effectively, no PIL/pillow for any python 3 app which is unfortunate 😢old issue text:
The "pil" recipe is misguidedly hardwired to python 2:
This breaks the build with Python 3:
I suggest this should be fixed.