-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
42 lines (38 loc) · 1.73 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from setuptools import setup, find_packages
from distutils.extension import Extension
from Cython.Distutils import build_ext
from os.path import join, dirname
packages = find_packages()
with open(join(dirname(__file__), 'version.txt'), 'r') as fileh:
version = fileh.read().strip()
options = {'apk': {'window': None,
'requirements': 'sdl2,kivy,python2,pygments,jedi',
'android-api': 19,
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
'dist-name': 'pyonic_python2',
'ndk-version': '10.3.2',
'package': 'net.inclem.pyonicinterpreter',
'permission': 'INTERNET',
'service': 'interpreter:interpreter_subprocess/interpreter.py',
# 'service': 'pip:interpreter_subprocess/interpreter.py',
# 'services': 'pip:interpreter_subprocess/interpreter.py;interpreter:interpreter_subprocess/interpreter.py',
'arch': 'armeabi-v7a',
'icon': 'build_assets/icon_py2-96.png',
'presplash': 'build_assets/presplash.png',
'whitelist': 'build_assets/whitelist.txt',
'local-recipes': './p4a_recipes',
# 'release': None,
# 'debug': None,
}}
setup(
name='Pyonic Python 2 interpreter',
version=version,
description='A Python mobile IDE experiment',
author='Alexander Taylor',
author_email='[email protected]',
packages=packages,
options=options,
package_data={'pyonic': ['*.py', '*.kv'],
'pyonic/interpreter_subprocess': ['*.py'],
'pyonic/assets': ['*.ttf', '*.txt']}
)