forked from kivy/python-for-android
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add libffi and libexpat support for python3 recipe
- Loading branch information
Showing
3 changed files
with
58 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
testapps/setup_testapp_python3_sqlite_openssl_ffi_expat.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
from distutils.core import setup | ||
from setuptools import find_packages | ||
|
||
options = {'apk': {'debug': None, | ||
'requirements': 'sdl2,pyjnius,kivy,python3,openssl,sqlite3,libffi,libexpat', | ||
'android-api': 19, | ||
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2', | ||
'dist-name': 'bdisttest_python3_googlendk_sqlite_openssl_ffi_expat', | ||
'ndk-version': '10.3.2', | ||
'arch': 'armeabi-v7a', | ||
'permission': 'VIBRATE', | ||
}} | ||
|
||
package_data = {'': ['*.py', | ||
'*.png'] | ||
} | ||
|
||
packages = find_packages() | ||
print('packages are', packages) | ||
|
||
setup( | ||
name='testapp_python3_googlendk_sqlite_openssl_ffi_expat', | ||
version='1.1', | ||
description='p4a setup.py test', | ||
author='Alexander Taylor', | ||
author_email='[email protected]', | ||
packages=find_packages(), | ||
options=options, | ||
package_data={'testapp': ['*.py', '*.png']} | ||
) |