Skip to content

Commit 85adb0e

Browse files
committed
Cleaned up imports
1 parent 9dff83b commit 85adb0e

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

pythonforandroid/bootstraps/empty/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
from pythonforandroid.toolchain import Bootstrap, shprint, current_directory, info, warning, ArchARM, logger, info_main, which
1+
from pythonforandroid.toolchain import Bootstrap
22
from os.path import join, exists
33
from os import walk
44
import glob
55
import sh
66

7+
78
class EmptyBootstrap(Bootstrap):
89
name = 'empty'
910

pythonforandroid/toolchain.py

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010

1111
import sys
1212
from sys import platform
13-
from os.path import (join, dirname, realpath, exists, basename,
14-
expanduser, split)
15-
from os import environ
13+
from os.path import (join, dirname, realpath, exists, expanduser)
1614
import os
1715
import glob
1816
import shutil
@@ -21,21 +19,20 @@
2119
import logging
2220
import shlex
2321
from functools import wraps
24-
from datetime import datetime
2522

2623
import argparse
2724
import sh
2825

2926

30-
from pythonforandroid.recipe import (Recipe, NDKRecipe, IncludedFilesBehaviour,
31-
PythonRecipe, CythonRecipe,
32-
CompiledComponentsPythonRecipe)
33-
from pythonforandroid.logger import (logger, info, debug, warning, error,
27+
from pythonforandroid.recipe import (Recipe, PythonRecipe, CythonRecipe,
28+
CompiledComponentsPythonRecipe,
29+
NDKRecipe)
30+
from pythonforandroid.archs import (ArchARM, ArchARMv7_a, Archx86)
31+
from pythonforandroid.logger import (logger, info, warning,
3432
Out_Style, Out_Fore, Err_Style, Err_Fore,
3533
info_notify, info_main, shprint,
3634
Null_Fore, Null_Style)
37-
from pythonforandroid.util import (ensure_dir, current_directory,
38-
which)
35+
from pythonforandroid.util import current_directory
3936
from pythonforandroid.bootstrap import Bootstrap
4037
from pythonforandroid.distribution import Distribution, pretty_log_dists
4138
from pythonforandroid.graph import get_recipe_order_and_bootstrap

0 commit comments

Comments
 (0)