8000 Small changes in testapps · sinazeyni/python-for-android@45356ff · GitHub
[go: up one dir, main page]

Skip to content

Commit 45356ff

Browse files
committed
Small changes in testapps
1 parent 916d60e commit 45356ff

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def unpack(self, arch):
450450
else:
451451
raise Exception(
452452
'Could not extract {} download, it must be .zip, '
453-
'.tar.gz or .tar.bz2 or .tar.xz')
453+
'.tar.gz or .tar.bz2 or .tar.xz'.format(extraction_filename))
454454
elif isdir(extraction_filename):
455455
mkdir(directory_name)
456456
for entry in listdir(extraction_filename):

testapps/testapp_setup/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
options = {'apk': {'debug': None,
66
'requirements': 'sdl2,pyjnius,kivy,python2',
77
'android-api': 19,
8-
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.1',
8+
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
99
'dist-name': 'bdisttest',
10-
'ndk-version': '10.3.1',
10+
'ndk-version': '10.3.2',
11+
'permission': 'VIBRATE',
1112
}}
1213

1314
package_data = {'': ['*.py',

testapps/testapp_setup/testapp/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
print(os.listdir('./lib/python2.7'))
99
print(os.listdir('./lib/python2.7/site-packages'))
1010

11+
print('this dir is', os.path.abspath(os.curdir))
12+
1113
print('contents of this dir', os.listdir('./'))
1214

1315
with open('./lib/python2.7/site-packages/kivy/app.pyo', 'rb') as fileh:

0 commit comments

Comments
 (0)
0