forked from kivy/python-for-android
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·27 lines (24 loc) · 889 Bytes
/
setup.py
File metadata and controls
executable file
·27 lines (24 loc) · 889 Bytes
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
from distutils.core import setup, Extension
import os
setup(name='android',
version='1.0',
packages=['android'],
package_dir={'android': 'android'},
ext_modules=[
Extension(
'android._android', ['android/_android.c', 'android/_android_jni.c'],
libraries=[ 'sdl', 'log' ],
library_dirs=[ 'libs/' + os.environ['ARCH'] ],
),
Extension(
'android._android_billing', ['android/_android_billing.c', 'android/_android_billing_jni.c'],
libraries=[ 'log' ],
library_dirs=[ 'libs/' + os.environ['ARCH'] ],
),
Extension(
'android._android_sound', ['android/_android_sound.c', 'android/_android_sound_jni.c',],
libraries=[ 'sdl', 'log' ],
library_dirs=[ 'libs/' + os.environ['ARCH'] ],
),
]
)