Toolchain for compiling Python / Kivy / other libraries for iOS
c2c552e7a9
Numpy requires severals requirements: - It absolutely requires unittest, that was deleted before (reduce-python.sh) - It requires future_builtins (ModuleSetup) - Deduplication of symbols now can merge multiple .a for easier management in Xcode (tools/environments.sh) - Avoid passing specific linker parameters to ar (-Wl ignored in tools/liblink). Numpy itself have few patch for: - force endianess to be little, using directly endian.h leads to detection error during the build process. - force not BLAS to be built, Accelerate framework already have it - rework the dependencies relation for lapack_lite and _umath_linalg, to prevent duplicate symbols and force compilation of necessary module / missing symbols. |
||
---|---|---|
src | ||
tools | ||
.gitignore | ||
LICENSE | ||
README.rst |
Kivy for IOS ============ (This is a work in progress.) #. Using brew, you can install dependencies:: brew install autoconf automake libtool pkg-config mercurial brew link libtool brew link mercurial #. Install Cython:: # easy-install method sudo easy_install cython # pip method if available (sudo might be needed.) pip install cython #. Build the whole toolchain with `tools/build-all.sh` #. Create an Xcode project for your application with `tools/create-xcode-project.sh test /path/to/app` #. Open your newly created Xcode project #. Ensure code signing is setup correctly #. Click on play Notes ----- A build phase is added to the project that processes and moves your app's files to the Xcode project before every build. If you would like to handle this process manually, remove the "Run Script" build phase from your target and use `tools/populate-project.sh /path/to/app` after every change. You can also change the path to your app by modifying this build phase.