From f57ca2dd375f93f2bd2d1776f451dc0bec28d017 Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Sat, 31 Mar 2018 19:54:30 +0000 Subject: [PATCH] Setuptools for Python3 (Crystax) and import fixes Adds python3crystax support to setuptools recipe. Also removed unused imports. --- pythonforandroid/recipes/setuptools/__init__.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pythonforandroid/recipes/setuptools/__init__.py b/pythonforandroid/recipes/setuptools/__init__.py index 3ca2f9a855..10760f372b 100644 --- a/pythonforandroid/recipes/setuptools/__init__.py +++ b/pythonforandroid/recipes/setuptools/__init__.py @@ -1,20 +1,11 @@ - -from pythonforandroid.toolchain import ( - PythonRecipe, - Recipe, - current_directory, - info, - shprint, -) -from os.path import join -import sh +from pythonforandroid.toolchain import PythonRecipe class SetuptoolsRecipe(PythonRecipe): version = '18.3.1' url = 'https://pypi.python.org/packages/source/s/setuptools/setuptools-{version}.tar.gz' - depends = ['python2'] + depends = [('python2', 'python3crystax')] call_hostpython_via_targetpython = False install_in_hostpython = True