Skip to content

Commit

Permalink
Merge pull request #1696 from opacam/update-testapps-requirements
Browse files Browse the repository at this point in the history
Make testapps use python3 per default and adapt to `blacklist-requirements`
  • Loading branch information
AndreMiras authored Feb 9, 2019
2 parents d23f05d + 3c51607 commit 0959544
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 12 deletions.
6 changes: 4 additions & 2 deletions testapps/setup_keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
from setuptools import find_packages

options = {'apk': {'debug': None,
'requirements': 'sdl2,pyjnius,kivy,python2',
'android-api': 19,
'requirements': 'sdl2,pyjnius,kivy,python3',
'blacklist-requirements': 'openssl,sqlite3',
'android-api': 27,
'ndk-api': 21,
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
'dist-name': 'bdisttest',
'ndk-version': '10.3.2',
Expand Down
3 changes: 2 additions & 1 deletion testapps/setup_testapp_flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
from setuptools import find_packages

options = {'apk': {'debug': None,
'requirements': 'python2,flask,pyjnius',
'requirements': 'python3,flask,pyjnius',
'blacklist-requirements': 'openssl,sqlite3',
'android-api': 27,
'ndk-api': 21,
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
Expand Down
3 changes: 2 additions & 1 deletion testapps/setup_testapp_python3.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
from distutils.core import setup
from setuptools import find_packages

options = {'apk': {'requirements': 'libffi,sdl2,numpy,pyjnius,kivy,python3',
options = {'apk': {'requirements': 'sdl2,numpy,pyjnius,kivy,python3',
'blacklist-requirements': 'openssl,sqlite3',
'android-api': 27,
'ndk-api': 21,
'dist-name': 'bdisttest_python3_googlendk',
Expand Down
3 changes: 1 addition & 2 deletions testapps/setup_testapp_python3_sqlite_openssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
from distutils.core import setup
from setuptools import find_packages

options = {'apk': {'requirements': 'libffi,openssl,sqlite3,requests,peewee,'
'sdl2,pyjnius,kivy,python3',
options = {'apk': {'requirements': 'requests,peewee,sdl2,pyjnius,kivy,python3',
'android-api': 27,
'ndk-api': 21,
'dist-name': 'bdisttest_python3_sqlite_openssl_googlendk',
Expand Down
7 changes: 4 additions & 3 deletions testapps/setup_testapp_python_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
from distutils.core import setup
from setuptools import find_packages

options = {'apk': {'requirements': 'libffi,openssl,sdl2,pyjnius,kivy,python2,'
'cryptography,pycrypto,scrypt,m2crypto,'
'pysha3,pycryptodome,libtorrent',
options = {'apk': {'requirements': 'sdl2,pyjnius,kivy,python3,cryptography,'
'pycrypto,scrypt,m2crypto,pysha3,'
'pycryptodome,libtorrent',
'blacklist-requirements': 'sqlite3',
'android-api': 27,
'ndk-api': 21,
'dist-name': 'bdisttest_encryption',
Expand Down
3 changes: 2 additions & 1 deletion testapps/setup_testapp_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
from setuptools import find_packages

options = {'apk': {'debug': None,
'requirements': 'python2,genericndkbuild,pyjnius',
'requirements': 'python3,genericndkbuild,pyjnius',
'blacklist-requirements': 'openssl,sqlite3',
'android-api': 27,
'ndk-api': 21,
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
Expand Down
6 changes: 4 additions & 2 deletions testapps/setup_vispy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
from setuptools import find_packages

options = {'apk': {'debug': None,
'requirements': 'vispy',
'android-api': 19,
'requirements': 'python3,vispy',
'blacklist-requirements': 'openssl,sqlite3',
'android-api': 27,
'ndk-api': 21,
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
'dist-name': 'bdisttest',
'ndk-version': '10.3.2',
Expand Down

0 comments on commit 0959544

Please sign in to comment.