8000 Make testapps use python3 per default (the ones that are not python2 … · Datalization/python-for-android@3c51607 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c51607

Browse files
committed
Make testapps use python3 per default (the ones that are not python2 specific)
Note: the `keyboard` and `vispy` testapps were a little outdated with his options, so also modified to match the current circumstances
1 parent e48634c commit 3c51607

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

testapps/setup_keyboard.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
from setuptools import find_packages
44

55
options = {'apk': {'debug': None,
6-
'requirements': 'sdl2,pyjnius,kivy,python2',
7-
'android-api': 19,
6+
'requirements': 'sdl2,pyjnius,kivy,python3',
7+
'blacklist-requirements': 'openssl,sqlite3',
8+
'android-api': 27,
9+
'ndk-api': 21,
810
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
911
'dist-name': 'bdisttest',
1012
'ndk-version': '10.3.2',

testapps/setup_testapp_flask.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
from setuptools import find_packages
44

55
options = {'apk': {'debug': None,
6-
'requirements': 'python2,flask,pyjnius',
6+
'requirements': 'python3,flask,pyjnius',
7+
'blacklist-requirements': 'openssl,sqlite3',
78
'android-api': 27,
89
'ndk-api': 21,
910
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',

testapps/setup_testapp_python_encryption.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
from distutils.core import setup
33
from setuptools import find_packages
44

5-
options = {'apk': {'requirements': 'libffi,openssl,sdl2,pyjnius,kivy,python2,'
6-
'cryptography,pycrypto,scrypt,m2crypto,'
7-
'pysha3,pycryptodome,libtorrent',
5+
options = {'apk': {'requirements': 'sdl2,pyjnius,kivy,python3,cryptography,'
6+
'pycrypto,scrypt,m2crypto,pysha3,'
7+
'pycryptodome,libtorrent',
8+
'blacklist-requirements': 'sqlite3',
89
'android-api': 27,
910
'ndk-api': 21,
1011
'dist-name': 'bdisttest_encryption',

testapps/setup_testapp_service.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
from setuptools import find_packages
44

55
options = {'apk': {'debug': None,
6-
'requirements': 'python2,genericndkbuild,pyjnius',
6+
'requirements': 'python3,genericndkbuild,pyjnius',
7+
'blacklist-requirements': 'openssl,sqlite3',
78
'android-api': 27,
89
'ndk-api': 21,
910
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',

testapps/setup_vispy.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
from setuptools import find_packages
44

55
options = {'apk': {'debug': None,
6-
'requirements': 'vispy',
7-
'android-api': 19,
6+
'requirements': 'python3,vispy',
7+
'blacklist-requirements': 'openssl,sqlite3',
8+
'android-api': 27,
9+
'ndk-api': 21,
810
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
911
'dist-name': 'bdisttest',
1012
'ndk-version': '10.3.2',

0 commit comments

Comments
 (0)
0