Skip to content

Commit b25074e

Browse files
committed
Fixed python2 build following recent changes for python3
1 parent 3932fe2 commit b25074e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

pythonforandroid/bootstraps/sdl2/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@
44
from os.path import join, exists, curdir, abspath
55
from os import walk
66
import os
7-
import glob
87
import sh
98

109

11-
EXCLUDE_EXTS = (".py", ".pyc", ".so.o", ".so.a", ".so.libs", ".pyx")
12-
13-
1410
class SDL2GradleBootstrap(Bootstrap):
1511
name = 'sdl2'
1612

pythonforandroid/recipes/python2/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
from pythonforandroid.patching import (is_darwin, is_api_gt,
44
check_all, is_api_lt, is_ndk)
55
from os.path import exists, join, realpath
6+
from os import walk
7+
import glob
68
import sh
79

10+
EXCLUDE_EXTS = (".py", ".pyc", ".so.o", ".so.a", ".so.libs", ".pyx")
11+
812

913
class Python2Recipe(TargetPythonRecipe):
1014
version = "2.7.2"

0 commit comments

Comments
 (0)