File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ VERSION_setuptools=0.6c11
4
+ URL_setuptools=http://pypi.python.org/packages/source/s/setuptools/setuptools-$VERSION_setuptools .tar.gz
5
+ DEPS_setuptools=(python)
6
+ MD5_setuptools=7df2a529a074f613b509fb44feefe74e
7
+ BUILD_setuptools=$BUILD_PATH /setuptools/$( get_directory $URL_setuptools )
8
+ RECIPE_setuptools=$RECIPES_PATH /setuptools
9
+
10
+ function prebuild_setuptools() {
11
+ true
12
+ }
13
+
14
+ function build_setuptools() {
15
+
16
+ if [ -d " $BUILD_PATH /python-install/lib/python2.7/site-packages/setuptools" ]; then
17
+ return
18
+ fi
19
+
20
+ cd $BUILD_setuptools
21
+
22
+ push_arm
23
+ # build setuptools for android
24
+ try $BUILD_PATH /hostpython/Python-2.7.2/hostpython setup.py install -O2 --root=$BUILD_PATH /python-install --install-lib=lib/python2.7/site-packages
25
+
26
+ # build setuptools for python-for-android
27
+ try $BUILD_PATH /hostpython/Python-2.7.2/hostpython setup.py install -O2 --root=$BUILD_PATH /hostpython/Python-2.7.2 --install-lib=Lib/site-packages
28
+ pop_arm
29
+ }
30
+
31
+ function postbuild_setuptools() {
32
+ true
33
+ }
You can’t perform that action at this time.
0 commit comments