Commit graph

29 commits

Author SHA1 Message Date
Andre Miras
56431b6922 Moving to dedicated kivy_ios/ package directory
- 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/`
2020-05-03 23:29:41 +02:00
Andre Miras
d180ee0807 Fixes building in venv
Borrowed from p4a:
https://github.com/kivy/python-for-android/pull/2159
Also refs upstream issue:
https://bugs.python.org/issue40261
Note that the fix used upstream cannot really be used directly here
because the actual system Python is impacted.
Adds venv build to CI to check for regressions.
2020-05-01 19:56:15 +02:00
Richard Larkin
8416d46fd4
Fix flake8 CI check on toolchain, remaining recipes (#456)
* 🔥 Fix flake8 checks for host_setuptools3

* 🔥 Fix flake8 checks for kivy recipe

*  Fix flake8 for toolchain.py

* 💡 Set python3 as the default python

* Add .tox and ven to .gitignore

* Update toolchain.py

Co-Authored-By: Andre Miras <AndreMiras@users.noreply.github.com>

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-27 07:29:11 +02:00
Mirko
9bb9efe0f7
Update to python 3.8.2 (#443)
* bump python version to 3.8.2

* Revert to cython 0.28.1
2020-04-25 20:12:59 +02:00
Mirko
2e8e9a1709 Add IOS_IS_WINDOWED env switch + update SDL2 (#414)
* Add IOS_IS_WINDOWED env switch + update SDL2

* updated kivy hash
2020-01-12 12:20:06 +01:00
Mathieu Virbel
dc695b1392 kivy: pin kivy version to have FBO fixes 2019-09-29 11:58:27 +02:00
Mathieu Virbel
49b16c6f0d toolchain: have a better installation method
Instead of installing on a temporary directory, and copying only what
we want, this install directly in the dist,
and the recipe can clean itself in
reduce_python_package().

This prevent the fix for kivy recipes using bdist_egg and easy_install.
2019-09-28 18:04:36 +02:00
Mathieu Virbel
0523593c0d kivy: remove unused files on iOS (examples, tools, tests) 2019-09-22 23:25:18 +02:00
Mathieu Virbel
3d76c34ec8 fixes missing CoreMedia and CoreVideo when using Kivy 2019-09-22 19:56:58 +02:00
Mirko
2ec7cb5ce0 Updated sdl2, sdl2_image, sdl2_mixer, sdl2_ttf, kivy (#370)
* Updated sdl2, sdl2_image, sdl2_mixer, sdl2_ttf, kivy

* bump kivy version to 1.11.0
2019-09-22 16:48:49 +02:00
Mathieu Virbel
811cbd48a7 add alias for hostpython/python, that point to either 2 or 3 version depending of the previous compiled state.
This allows the recipe to point on an versionless python.
2018-11-02 11:44:25 +01:00
Akshay Arora
d6835dd826
Update __init__.py 2018-10-29 15:13:10 +05:30
Mathieu Virbel
91ecf0fe4a update Kivy to 1.10.0, and fixes import graphics issues. Closes #240 2017-05-14 17:54:14 +02:00
Mathieu Virbel
cdf664d9bf fixes python3 issue on osx. Closes #224 2017-04-29 17:51:42 +02:00
Richard Larkin
93c792e5e9 Add pyobjus dependency. closes #229 2016-12-14 13:42:57 +02:00
Zen-CODE
5fc587901b Updated Kivy version to 1.9.1
Tested and working on iPad, iOS 9.2
2016-01-14 10:52:49 +02:00
Ben Hagen
ac04e98388 build kivy version 1.9.0 instead of master 2015-06-14 19:30:25 +02:00
Mathieu Virbel
657da67003 kivy: point the kivy recipe to master, ios-poly-arch is merged 2015-03-16 15:19:14 +01:00
Mathieu Virbel
c9231773b1 kivy: fix recipe 2015-02-25 18:51:03 +01:00
Mathieu Virbel
f23f86dfef recipes: update all Cython/Python recipe to use new classes 2015-02-25 13:37:52 +01:00
Mathieu Virbel
6238831a83 toolchain: factorize cythonize_build, cythonize and big link 2015-02-23 22:51:16 +01:00
Mathieu Virbel
e51be2eec8 toolchain: handle addition of frameworks/libraries within the Xcode project depending of the compiled recipes.
Done automatically during the creation time, or use the update command
2015-02-23 11:34:36 +01:00
Mathieu Virbel
8f1ede0449 toolchain: clean few recipes 2015-02-20 16:12:04 +01:00
Mathieu Virbel
ddbfb912ef kivy: master doesn't work with poly-arch (as we uses sdl2 by default now) 2015-02-13 18:42:40 +01:00
Mathieu Virbel
bef7945358 kivy: add a dependency to ios module, and ensure all the SDL2 inclusion path for iOS are included. 2015-02-13 18:39:34 +01:00
Mathieu Virbel
f637641917 kivy: enable SDL2 by default (WIP) 2015-02-12 00:53:22 +01:00
Mathieu Virbel
f50d5e509f kivy: with the new host python, fix the prefix. 2015-02-11 12:53:19 +01:00
Mathieu Virbel
456259f912 python/kivy: correctly install both of them into the dist/root 2015-02-09 23:34:02 +01:00
Mathieu Virbel
6592e69f52 kivy: starts kivy recipe (doesn't not work yet) 2015-02-09 11:58:44 +01:00