56431b6922
- 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/`
31 lines
832 B
Diff
31 lines
832 B
Diff
diff -Naur Python-3.8.2.orig/Modules/posixmodule.c Python-3.8.2/Modules/posixmodule.c
|
|
--- Python-3.8.2.orig/Modules/posixmodule.c 2020-04-12 00:11:47.000000000 +0200
|
|
+++ Python-3.8.2/Modules/posixmodule.c 2020-04-12 00:13:21.000000000 +0200
|
|
@@ -216,6 +216,27 @@
|
|
#endif /* _MSC_VER */
|
|
#endif /* ! __WATCOMC__ || __QNX__ */
|
|
|
|
+// iOS
|
|
+#undef HAVE_EXECV
|
|
+#undef HAVE_FORK
|
|
+#undef HAVE_FORK1
|
|
+#undef HAVE_FORKPTY
|
|
+#undef HAVE_GETGROUPS
|
|
+#undef HAVE_SCHED_H
|
|
+#undef HAVE_SENDFILE
|
|
+#undef HAVE_SETPRIORITY
|
|
+#undef HAVE_SPAWNV
|
|
+#undef HAVE_WAIT
|
|
+#undef HAVE_WAIT3
|
|
+#undef HAVE_WAIT4
|
|
+#undef HAVE_WAITPID
|
|
+#undef HAVE_SYSTEM
|
|
+#undef HAVE_FEXECVE
|
|
+#undef HAVE_RTPSPAWN
|
|
+#undef HAVE_POSIX_SPAWN
|
|
+#undef HAVE_POSIX_SPAWNP
|
|
+#undef HAVE_FDWALK
|
|
+#undef HAVE_COPY_FILE_RANGE
|
|
|
|
/*[clinic input]
|
|
# one of the few times we lie about this name!
|