Skip to content

Commit 6d19a6d

Browse files
committed
Added flask testapp setup.py
1 parent a924f91 commit 6d19a6d

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

testapps/setup_testapp_flask.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
from distutils.core import setup
3+
from setuptools import find_packages
4+
5+
options = {'apk': {'debug': None,
6+
'requirements': 'python2,flask,pyjnius',
7+
'android-api': 19,
8+
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
9+
'dist-name': 'testapp_flask',
10+
'ndk-version': '10.3.2',
11+
'bootstrap': 'webview',
12+
'permissions': ['INTERNET', 'VIBRATE'],
13+
'window': None,
14+
}}
15+
16+
package_data = {'': ['*.py',
17+
'*.png']
18+
}
19+
20+
packages = find_packages()
21+
print('packages are', packages)
22+
23+
setup(
24+
name='testapp_flask',
25+
version='1.0',
26+
description='p4a flask testapp',
27+
author='Alexander Taylor',
28+
author_email='alexanderjohntaylor@gmail.com',
29+
packages=find_packages(),
30+
options=options,
31+
package_data={'testapp_flask': ['*.py', '*.png'],
32+
'testapp_flask/static': ['*.png', '*.css'],
33+
'testapp_flask/templates': ['*.html']}
34+
)

0 commit comments

Comments
 (0)