beeware / Python-Apple-support

A meta-package for building a version of Python that can be embedded into a macOS, iOS, tvOS or watchOS project.
MIT License
1.13k stars 165 forks source link

Is Unity Python support Possible #43

Closed sekkit closed 3 years ago

sekkit commented 6 years ago

Mono runtime with Python iOS/android/macOS/Windows support, is that possible?

freakboy3742 commented 6 years ago

I'm guessing it would be possible; however, I have no idea what would be involved, and, it's not a priority for me personally.

sekkit commented 6 years ago

I tried with Ironpython and it worked with Unity except il2cpp compilation. Just load some assemblies dlls from Unity engine, then you can call them in python script. But native cpython I reckon PythonNet wrapper should be involved. https://github.com/pythonnet/pythonnet

kitsek commented 5 years ago

hi, I successfully run pythonnet in Unity with some mods. and now working with il2cpp, linking with Python static lib .a, to see if it works fine with iOS.

LiYangXuU commented 4 years ago

@zhangyl08 I am also looking for the way to run python(numpy) in Unity iOS project, does PythonNet work fine when converting into xcode? or it is better using Python-Apple-support? Thanks

freakboy3742 commented 3 years ago

Closing as the original question has been answered.