kivy / kivy/python-for-android

Remove hard coded incorrect build arguments for pyzmq recipe

Open
#2,072 2 comments 0 reactions 0 assignees View on GitHub
bug recipe
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Description

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']
```

Contributor guide

Open the contributing guide

Research direction

Start with pythonforandroid/recipes/pyzmq/__init__.py and inspect the PyZMQRecipe Cython configuration, especially its cython_args block. Remove the invalid hard-coded build arguments and verify the pyzmq recipe build no longer fails when pyzmq is added to the build requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.