{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/kivy/issues/5375","repository_url":"https://api.github.com/repos/kivy/kivy","labels_url":"https://api.github.com/repos/kivy/kivy/issues/5375/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy/issues/5375/comments","events_url":"https://api.github.com/repos/kivy/kivy/issues/5375/events","html_url":"https://github.com/kivy/kivy/issues/5375","id":256397791,"number":5375,"title":"Cannot pip install both Cython and Kivy in one pass","user":{"login":"CodeMouse92","id":7471402,"avatar_url":"https://avatars2.githubusercontent.com/u/7471402?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeMouse92","html_url":"https://github.com/CodeMouse92","followers_url":"https://api.github.com/users/CodeMouse92/followers","following_url":"https://api.github.com/users/CodeMouse92/following{/other_user}","gists_url":"https://api.github.com/users/CodeMouse92/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMouse92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMouse92/subscriptions","organizations_url":"https://api.github.com/users/CodeMouse92/orgs","repos_url":"https://api.github.com/users/CodeMouse92/repos","events_url":"https://api.github.com/users/CodeMouse92/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMouse92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-09-08T23:52:05Z","updated_at":"2018-04-27T15:53:31Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nThe title says it all. Running the command `pip install Cython=0.25.2 kivy=1.10.0` doesn't work. I think I've traced this back to Kivy's `setup.py` metadata. Normally, `pip` can intelligently figure out the installation order from dependencies, but something about Kivy's `setup.py` is preventing that. Thus, it tries to install Kivy before Cython, which naturally fails.\r\n\r\nThis may not seem like a big deal, but what this does is it **prevents packaging with things like Snapcraft**, which `pip` install everything in one auto-generated command. That, obviously, is going to be a _huge_ problem for Kivy packaging in the long run.\r\n\r\n### Versions\r\n\r\n* Python: 3.5\r\n* OS: Ubuntu 17.04\r\n* Kivy: 1.10.0\r\n* Kivy installation method: `pip`, see below\r\n\r\n### Code and Logs\r\nHere's the output from the command.\r\n\r\n```bash\r\n$ pip install Cython==0.25.2 kivy==1.10.0\r\nCollecting Cython==0.25.2\r\n  Downloading Cython-0.25.2-cp35-cp35m-manylinux1_x86_64.whl (7.0MB)\r\n    100% |████████████████████████████████| 7.0MB 220kB/s \r\n  Saved /root/build_omission/parts/omission/packages/Cython-0.25.2-cp35-cp35m-manylinux1_x86_64.whl\r\nCollecting kivy==1.10.0\r\n  Downloading Kivy-1.10.0.tar.gz (24.3MB)\r\n    100% |████████████████████████████████| 24.3MB 74kB/s \r\n  Saved /root/build_omission/parts/omission/packages/Kivy-1.10.0.tar.gz\r\n    Complete output from command python setup.py egg_info:\r\n    Using distutils\r\n    \r\n    Cython is missing, it's required for compiling kivy !\r\n    \r\n    \r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/tmp/pip-build-_hd184pu/kivy/setup.py\", line 219, in <module>\r\n        from Cython.Distutils import build_ext\r\n    ImportError: No module named 'Cython'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kivy/kivy/issues/comments/385013631","html_url":"https://github.com/kivy/kivy/issues/5375#issuecomment-385013631","issue_url":"https://api.github.com/repos/kivy/kivy/issues/5375","id":385013631,"user":{"login":"johnthagen","id":10340167,"avatar_url":"https://avatars1.githubusercontent.com/u/10340167?v=4","gravatar_id":"","url":"https://api.github.com/users/johnthagen","html_url":"https://github.com/johnthagen","followers_url":"https://api.github.com/users/johnthagen/followers","following_url":"https://api.github.com/users/johnthagen/following{/other_user}","gists_url":"https://api.github.com/users/johnthagen/gists{/gist_id}","starred_url":"https://api.github.com/users/johnthagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnthagen/subscriptions","organizations_url":"https://api.github.com/users/johnthagen/orgs","repos_url":"https://api.github.com/users/johnthagen/repos","events_url":"https://api.github.com/users/johnthagen/events{/privacy}","received_events_url":"https://api.github.com/users/johnthagen/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T15:53:31Z","updated_at":"2018-04-27T15:53:31Z","author_association":"NONE","body":"Hit this problem on macOS and Python 3.6 as well. Would be a better user experience if someone could just `pip install kivy` and get rolling on the tutorials."}}
{"actor":{"display_login":"johnthagen"}}