v3.11.6
What's New
-
Successful embedding of the Python interpreter into Swift.
-
Ability to
import Pythonand call Python directly within the Swift programming language. -
Fix python headers incorrect includes of cpython headers within
extern "C" {blocks, this was previously an error, at least when trying to use that same module (ex. import Python), from a target that was compiled with CXX interoperability enabled, you should now be free to import Python regardless of C/CXX interop. 🎉
Add it to your Swift project with SwiftPM by adding the following in your Package.swift:
dependencies: [
.package(url: "https://github.com/wabiverse/MetaversePythonFramework", from: "3.11.6")
],