From 7db62eefb0601098db6eff9becf566f51fee9be4 Mon Sep 17 00:00:00 2001 From: Kim Rinnewitz Date: Tue, 21 Aug 2018 15:51:01 +0200 Subject: [PATCH] Use zip instead of tar.gz to obtain setuptools Newer releases of setuptools on pypi are only available as zip archives. In order to support higher versions of setuptools, zip should be preferred over tar.gz. Otherwise, installing e.g. setuptools==40.0.0 will fail. --- pythonforandroid/recipes/setuptools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonforandroid/recipes/setuptools/__init__.py b/pythonforandroid/recipes/setuptools/__init__.py index 00c7299b5b..f5dd5d5057 100644 --- a/pythonforandroid/recipes/setuptools/__init__.py +++ b/pythonforandroid/recipes/setuptools/__init__.py @@ -3,7 +3,7 @@ class SetuptoolsRecipe(PythonRecipe): version = '18.3.1' - url = 'https://pypi.python.org/packages/source/s/setuptools/setuptools-{version}.tar.gz' + url = 'https://pypi.python.org/packages/source/s/setuptools/setuptools-{version}.zip' depends = [('python2', 'python3crystax')]