- updates all imports to prefix kivy_ios
- adds basic `setup.py` file
- adds a simple `toolchain.py` to the root folder for compat
Makes it possible to install kivy-ios from PyPI:
```
pip install kivy-ios
toolchain --help
```
Note the `rebuild_updated_recipes.py` is expected to fail as we
moved all the recipes.
This is a working, but unperfect iteration that come with limitations
we would address in subsequent pull requests, such as:
- the new usage is not yet documented
- CI is not testing the source distribution creation and install
- Continuous Delivery to PyPI is not in place
- `toolchain` binary is a bit too generic name
- we're still vendoring things under `tools/`
* - recipe which make cymunk build (but doesn't work)
* - cymunk not only builds, but also can be imported
* - python3=>python in cymunk recipe
* - and even single ['python']
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.
Replaces print statement as print() and replaces file() with open() to resolve error occurred when running the `tools/build-ios.sh` script under Python 3 environment.
Signed-off-by: Olli Wang <olliwang@ollix.com>