forked from inclement/Pyonic-interpreter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup3.py
45 lines (41 loc) · 1.9 KB
/
setup3.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
43
44
45
from setuptools import setup, find_packages
from distutils.extension import Extension
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,python3crystax==3.6,pygments,jedi',
'android-api': 19,
'ndk-dir': '/home/asandy/android/crystax-ndk-10.3.2',
'dist-name': 'pyonic_python3',
'ndk-version': '10.3.2',
'package': 'net.inclem.pyonicinterpreter3',
'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_py3-96.png',
'presplash': 'build_assets/presplash.png',
'whitelist': 'build_assets/whitelist.txt',
'local-recipes': './p4a_recipes',
# 'release': None,
# 'debug': None,
}}
setup(
name='Pyonic Python 3 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'],
'pyonic/pydoc_data': ['*.py'],
# 'pyonic/distutils': ['*.py'],
# 'pyonic/distutils/command': ['*.py'],
'pyonic/osc': ['*.py']}
)