Skip to content

Commit c111953

Browse files
committed
Add tests for launcher
1 parent 9911921 commit c111953

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

testapps/testlauncher_setup/pygame.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
from distutils.core import setup
2+
from setuptools import find_packages
3+
4+
options = {'apk': {'debug': None,
5+
'bootstrap': 'pygame',
6+
'launcher': None,
7+
'requirements': (
8+
'python2,pygame,'
9+
'sqlite3,docutils,pygments,kivy,pyjnius,plyer,'
10+
'audiostream,cymunk,lxml,pil,' # ffmpeg, openssl
11+
'twisted,numpy'), # pyopenssl
12+
'android-api': 14,
13+
'dist-name': 'launchertest_pygame',
14+
'name': 'TestLauncher-pygame',
15+
'package': 'org.kivy.testlauncher_pygame',
16+
'permissions': [
17+
'ACCESS_COARSE_LOCATION', 'ACCESS_FINE_LOCATION',
18+
'BLUETOOTH', 'BODY_SENSORS', 'CAMERA', 'INTERNET',
19+
'NFC', 'READ_EXTERNAL_STORAGE', 'RECORD_AUDIO',
20+
'USE_FINGERPRINT', 'VIBRATE', 'WAKE_LOCK',
21+
'WRITE_EXTERNAL_STORAGE']
22+
}}
23+
24+
setup(
25+
name='testlauncher_pygame',
26+
version='1.0',
27+
description='p4a pygame.py apk',
28+
author='Peter Badida',
29+
options=options
30+
)

testapps/testlauncher_setup/sdl2.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
from distutils.core import setup
2+
from setuptools import find_packages
3+
4+
options = {'apk': {'debug': None,
5+
'bootstrap': 'sdl2',
6+
'launcher': None,
7+
'requirements': (
8+
'python2,sdl2,'
9+
'sqlite3,docutils,pygments,kivy,pyjnius,plyer,'
10+
'cymunk,lxml,pil,' # audiostream, ffmpeg, openssl,
11+
'twisted,numpy'), # pyopenssl
12+
'android-api': 14,
13+
'dist-name': 'launchertest_sdl2',
14+
'name': 'TestLauncher-sdl2',
15+
'package': 'org.kivy.testlauncher_sdl2',
16+
'permissions': [
17+
'ACCESS_COARSE_LOCATION', 'ACCESS_FINE_LOCATION',
18+
'BLUETOOTH', 'BODY_SENSORS', 'CAMERA', 'INTERNET',
19+
'NFC', 'READ_EXTERNAL_STORAGE', 'RECORD_AUDIO',
20+
'USE_FINGERPRINT', 'VIBRATE', 'WAKE_LOCK',
21+
'WRITE_EXTERNAL_STORAGE']
22+
}}
23+
24+
setup(
25+
name='testlauncher_sdl2',
26+
version='1.0',
27+
description='p4a sdl2.py apk',
28+
author='Peter Badida',
29+
options=options
30+
)

0 commit comments

Comments
 (0)