kivy / python-for-android

Turn your Python application into an Android APK
https://python-for-android.readthedocs.io
MIT License
8.38k stars 1.86k forks source link

Remove hard coded incorrect build arguments for pyzmq recipe #2072

Open smaudet opened 4 years ago

smaudet commented 4 years ago

Cython does not support any -I arguments. You have hard coded a reference to an invalid build configuration into your python-for-android fork.

Simply add pyzmq to your build requirements and watch it fail.

pythonforandroid/recipes/pyzmq/init.py

class PyZMQRecipe(CythonRecipe):
    name = 'pyzmq'
    version = 'master'
    url = 'https://github.com/zeromq/pyzmq/archive/{version}.zip'
    site_packages_name = 'zmq'
    depends = ['libzmq']
    cython_args = ['-Izmq/utils',
                   '-Izmq/backend/cython',
                   '-Izmq/devices']
smaudet commented 4 years ago

https://github.com/kivy/python-for-android/issues/1575

Potentially linked?

Diskein commented 4 years ago

I commented cython_args and this worked for my app.