Skip to content

Commit dc9a7eb

Browse files
committed
pep8
1 parent 1f19d72 commit dc9a7eb

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pythonforandroid/bootstraps/service_only/__init__.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
from pythonforandroid.toolchain import Bootstrap, shprint, current_directory, info, warning, ArchARM, info_main
2-
from os.path import join, exists, curdir, abspath
3-
from os import walk
41
import glob
2+
from os import walk
3+
from os.path import join, exists, curdir, abspath
54
import sh
5+
from pythonforandroid.toolchain import Bootstrap, shprint, current_directory, info, warning, ArchARM, info_main
6+
67

78
class ServiceOnlyBootstrap(Bootstrap):
9+
810
name = 'service_only'
911

1012
recipe_depends = ['genericndkbuild', ('python2', 'python3crystax')]
@@ -62,7 +64,7 @@ def run_distribute(self):
6264
# AND: Copylibs stuff should go here
6365
if exists(join('libs', arch.arch, 'libpymodules.so')):
6466
shprint(sh.mv, join('libs', arch.arch, 'libpymodules.so'), 'private/')
65-
shprint(sh.cp, join('python-install', 'include' , 'python2.7', 'pyconfig.h'), join('private', 'include', 'python2.7/'))
67+
shprint(sh.cp, join('python-install', 'include', 'python2.7', 'pyconfig.h'), join('private', 'include', 'python2.7/'))
6668

6769
info('Removing some unwanted files')
6870
shprint(sh.rm, '-f', join('private', 'lib', 'libpython2.7.so'))
@@ -118,4 +120,5 @@ def run_distribute(self):
118120
self.fry_eggs(site_packages_dir)
119121
super(ServiceOnlyBootstrap, self).run_distribute()
120122

121-
bootstrap = ServiceOnlyBootstrap()
123+
124+
bootstrap = ServiceOnlyBootstrap()

0 commit comments

Comments
 (0)