diff --git a/Package.swift b/Package.swift index 5994f4b..dade6c2 100644 --- a/Package.swift +++ b/Package.swift @@ -15,10 +15,10 @@ let package = Package( ]), ], targets: [ - .binaryTarget(name: "libpython3", url: "https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230312-012746/libpython3.xcframework.zip", checksum: "d8cc3fd6fa8d423472db262cdf8cc7dbf37905092214b1b4a60bdfe60e157117"), - .binaryTarget(name: "libssl", url: "https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230312-012746/libssl.xcframework.zip", checksum: "4fe35fe5cb115af686f1917e2e794a29cdd80b79b23cc1acd08bb20745db3e70"), - .binaryTarget(name: "libcrypto", url: "https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230312-012746/libcrypto.xcframework.zip", checksum: "53c404fb8bb312d7d0ff8b0d3b68869aa66b03e5008f326aad814401eac870ac"), - .binaryTarget(name: "libffi", url: "https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230312-012746/libffi.xcframework.zip", checksum: "0704567c97647f211be5cb4e527c8408e82f0266153ca5ba667f74757f983c01"), + .binaryTarget(name: "libpython3", url: "https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-043815/libpython3.xcframework.zip", checksum: "ee37b19e3dd8ddaa869f09aab0fe5c0514b3d051b9bdf68d94c154e897e1982d"), + .binaryTarget(name: "libssl", url: "https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-043815/libssl.xcframework.zip", checksum: "408a9b94c0bbbb4358838bd34e15799f12dece74dd21b8a60561887fb9dfc9d8"), + .binaryTarget(name: "libcrypto", url: "https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-043815/libcrypto.xcframework.zip", checksum: "c4ece329762cc90abe087eb192be2132619322b1ef760ebdcabbe2bfbcedd367"), + .binaryTarget(name: "libffi", url: "https://github.com/kewlbear/Python-iOS/releases/download/v0.1.1-b20230423-043815/libffi.xcframework.zip", checksum: "cbc29901d9bba4ccc6813d7bc6719ab4d4fbe3b5dde8d7f599d544ddb14eac42"), .target(name: "LinkPython", dependencies: [ "libpython3", diff --git a/README.md b/README.md index f28308e..14d5716 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This swift package enables you to use python modules in your iOS apps. ## Installation ``` -.package(url: "https://github.com/kewlbear/Python-iOS.git", .branch("kivy-ios")) +.package(url: "https://github.com/kewlbear/Python-iOS.git", from: "0.1.1-b") ``` ## Usage diff --git a/Sources/PythonSupport/lib/python3.10/config-3.10-darwin/Makefile b/Sources/PythonSupport/lib/python3.10/config-3.10-darwin/Makefile index e900a4c..26e35e0 100644 --- a/Sources/PythonSupport/lib/python3.10/config-3.10-darwin/Makefile +++ b/Sources/PythonSupport/lib/python3.10/config-3.10-darwin/Makefile @@ -34,8 +34,8 @@ abs_srcdir= /Users/runner/work/Python-iOS/Python-iOS/kivy-ios/build/python3/x86_ abs_builddir= /Users/runner/work/Python-iOS/Python-iOS/kivy-ios/build/python3/x86_64/Python-3.10.10 -CC= /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpd_rxqvvi -CXX= /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpunnt920m +CC= /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpsa1dtbe5 +CXX= /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpvu69ocrt MAINCC= $(CC) LINKCC= $(PURIFY) $(MAINCC) AR= /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar @@ -217,7 +217,7 @@ EXEMODE= 755 FILEMODE= 644 # configure script arguments -CONFIG_ARGS= 'CC=/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpd_rxqvvi' 'LD=/Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld' 'CFLAGS=-O3 -miphonesimulator-version-min=9.0 -I/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/include/x86_64/ffi -I/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/include/x86_64/openssl -I/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/include/x86_64 --sysroot=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk' 'LDFLAGS=-L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/frameworks/libffi.xcframework/ios-arm64_x86_64-simulator -L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/frameworks/libssl.xcframework/ios-arm64_x86_64-simulator -L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/frameworks/libcrypto.xcframework/ios-arm64_x86_64-simulator -L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/frameworks/libpython3.10.xcframework/ios-arm64_x86_64-simulator -arch x86_64 -L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/lib -L/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/lib -miphonesimulator-version-min=9.0 -undefined dynamic_lookup' 'ac_cv_file__dev_ptmx=yes' 'ac_cv_file__dev_ptc=no' 'ac_cv_little_endian_double=yes' 'ac_cv_func_memrchr=no' 'ac_cv_func_getentropy=no' 'ac_cv_func_getresuid=no' 'ac_cv_func_getresgid=no' 'ac_cv_func_setresgid=no' 'ac_cv_func_setresuid=no' 'ac_cv_func_plock=no' 'ac_cv_func_dup3=no' 'ac_cv_func_pipe2=no' 'ac_cv_func_preadv=no' 'ac_cv_func_pwritev=no' 'ac_cv_func_preadv2=no' 'ac_cv_func_pwritev2=no' 'ac_cv_func_mkfifoat=no' 'ac_cv_func_mknodat=no' 'ac_cv_func_posix_fadvise=no' 'ac_cv_func_posix_fallocate=no' 'ac_cv_func_sigwaitinfo=no' 'ac_cv_func_sigtimedwait=no' 'ac_cv_func_clock_settime=no' 'ac_cv_func_pthread_getcpuclockid=no' 'ac_cv_func_sched_setscheduler=no' 'ac_cv_func_sched_setparam=no' 'ac_cv_func_clock_gettime=no' 'ac_cv_func_rtpSpawn=no' 'ac_cv_func_fdwalk=no' 'ac_cv_func_futimesat=no' 'ac_cv_func_copy_file_range=no' 'ac_cv_func_fexecve=no' 'ac_cv_func_execve=no' 'ac_cv_func_sched_rr_get_interval=no' 'ac_cv_func_explicit_bzero=no' 'ac_cv_func_explicit_memset=no' 'ac_cv_func_close_range=no' 'ac_cv_func_splice=no' 'ac_cv_func_mremap=no' '--host=x86_64-apple-ios' '--build=x86_64-apple-darwin' '--prefix=/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/root/python3' '--without-ensurepip' '--with-system-ffi' '--enable-ipv6' 'PYTHON_FOR_BUILD=_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) /Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/hostpython3/bin/python' 'build_alias=x86_64-apple-darwin' 'host_alias=x86_64-apple-ios' +CONFIG_ARGS= 'CC=/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpsa1dtbe5' 'LD=/Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld' 'CFLAGS=-O3 -miphonesimulator-version-min=9.0 -I/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/include/x86_64/ffi -I/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/include/x86_64/openssl -I/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/include/x86_64 --sysroot=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk' 'LDFLAGS=-L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/frameworks/libffi.xcframework/ios-arm64_x86_64-simulator -L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/frameworks/libssl.xcframework/ios-arm64_x86_64-simulator -L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/frameworks/libcrypto.xcframework/ios-arm64_x86_64-simulator -L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/frameworks/libpython3.10.xcframework/ios-arm64_x86_64-simulator -arch x86_64 -L/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/lib -L/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/lib -miphonesimulator-version-min=9.0 -undefined dynamic_lookup' 'ac_cv_file__dev_ptmx=yes' 'ac_cv_file__dev_ptc=no' 'ac_cv_little_endian_double=yes' 'ac_cv_func_memrchr=no' 'ac_cv_func_getentropy=no' 'ac_cv_func_getresuid=no' 'ac_cv_func_getresgid=no' 'ac_cv_func_setresgid=no' 'ac_cv_func_setresuid=no' 'ac_cv_func_plock=no' 'ac_cv_func_dup3=no' 'ac_cv_func_pipe2=no' 'ac_cv_func_preadv=no' 'ac_cv_func_pwritev=no' 'ac_cv_func_preadv2=no' 'ac_cv_func_pwritev2=no' 'ac_cv_func_mkfifoat=no' 'ac_cv_func_mknodat=no' 'ac_cv_func_posix_fadvise=no' 'ac_cv_func_posix_fallocate=no' 'ac_cv_func_sigwaitinfo=no' 'ac_cv_func_sigtimedwait=no' 'ac_cv_func_clock_settime=no' 'ac_cv_func_pthread_getcpuclockid=no' 'ac_cv_func_sched_setscheduler=no' 'ac_cv_func_sched_setparam=no' 'ac_cv_func_clock_gettime=no' 'ac_cv_func_rtpSpawn=no' 'ac_cv_func_fdwalk=no' 'ac_cv_func_futimesat=no' 'ac_cv_func_copy_file_range=no' 'ac_cv_func_fexecve=no' 'ac_cv_func_execve=no' 'ac_cv_func_sched_rr_get_interval=no' 'ac_cv_func_explicit_bzero=no' 'ac_cv_func_explicit_memset=no' 'ac_cv_func_close_range=no' 'ac_cv_func_splice=no' 'ac_cv_func_mremap=no' '--host=x86_64-apple-ios' '--build=x86_64-apple-darwin' '--prefix=/Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/root/python3' '--without-ensurepip' '--with-system-ffi' '--enable-ipv6' 'PYTHON_FOR_BUILD=_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) /Users/runner/work/Python-iOS/Python-iOS/kivy-ios/dist/hostpython3/bin/python' 'build_alias=x86_64-apple-darwin' 'host_alias=x86_64-apple-ios' # Subdirectories with code @@ -268,8 +268,8 @@ BUILD_GNU_TYPE= x86_64-apple-darwin HOST_GNU_TYPE= x86_64-apple-ios # Tcl and Tk config info from --with-tcltk-includes and -libs options -TCLTK_INCLUDES= -I/usr/local/Cellar/tcl-tk/8.6.13_1/include/tcl-tk -TCLTK_LIBS= -L/usr/local/Cellar/tcl-tk/8.6.13_1/lib -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6 +TCLTK_INCLUDES= -I/usr/local/Cellar/tcl-tk/8.6.13_2/include/tcl-tk +TCLTK_LIBS= -L/usr/local/Cellar/tcl-tk/8.6.13_2/lib -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6 # The task to run while instrumented when building the profile-opt target. # To speed up profile generation, we don't run the full unit test suite diff --git a/Sources/PythonSupport/lib/python310.zip b/Sources/PythonSupport/lib/python310.zip index 84259b6..c3976f6 100644 Binary files a/Sources/PythonSupport/lib/python310.zip and b/Sources/PythonSupport/lib/python310.zip differ