Edit of asset "PythonScript-Pypy" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | PythonScript-Pypy | |
Description |
/!\ This module is deprecated !!! See PythonScript module (https://godotengine.org/asset-library/asset/179) instead /!\ /!\ This module requires to restart Godot once installed /!\ Introduction ------------ This is a beta version of the Python module for Godot. You are likely to encounter bugs and catastrophic crashes, if so please report them to https://github.com/touilleMan/godot-python/issues. Working features ---------------- Every Godot core features are expected to work fine: - builtins (e.g. Vector2) - Objects classes (e.g. Node) - signals - variable export - rpc synchronisation On top of that, mixing GDscript and Python code inside a project should work fine. Python and pip are working, however depending on platform and backend they - on Windows+CPython use `python.exe` and `python.exe -m pip` - on Linux+CPython `bin/python` and `bin/pip` are provided out of the box. However you must provide path to `libpython3.6m.so` to make them run: ``` $ LD_LIBRARY_PATH=`pwd`/lib ./bin/pip3 --version $ LD_LIBRARY_PATH=`pwd`/lib ./bin/python --version ``` - on Linux+Pypy `bin/pypy` runs like a charm, you should use ensurepip to install pip: ``` $ bin/pypy -m ensurepip $ bin/pypy -m pip --version ``` Not so well features -------------------- Memory management is a big issue (given Godot and Python garbage collectors should be synchronized) so leaks are possible (hence Godot complaining there is still MemoryPool allocs in use at exit...). Exporting the project hasn't been tested at all (however exporting for linux should be pretty simple and may work out of the box...). Have fun ;-) - touilleMan |
/!\ This module is deprecated !!! See PythonScript module (https://godotengine.org/asset-library/asset/179) instead /!\ /!\ This module requires to restart Godot once installed /!\ Introduction ------------ This is a beta version of the Python module for Godot. You are likely to encounter bugs and catastrophic crashes, if so please report them to https://github.com/touilleMan/godot-python/issues. Working features ---------------- Every Godot core features are expected to work fine: - builtins (e.g. Vector2) - Objects classes (e.g. Node) - signals - variable export - rpc synchronisation On top of that, mixing GDscript and Python code inside a project should work fine. Python and pip are working, however depending on platform and backend they - on Windows+CPython use `python.exe` and `python.exe -m pip` - on Linux+CPython `bin/python` and `bin/pip` are provided out of the box. However you must provide path to `libpython3.6m.so` to make them run: ``` $ LD_LIBRARY_PATH=`pwd`/lib ./bin/pip3 --version $ LD_LIBRARY_PATH=`pwd`/lib ./bin/python --version ``` - on Linux+Pypy `bin/pypy` runs like a charm, you should use ensurepip to install pip: ``` $ bin/pypy -m ensurepip $ bin/pypy -m pip --version ``` Not so well features -------------------- Memory management is a big issue (given Godot and Python garbage collectors should be synchronized) so leaks are possible (hence Godot complaining there is still MemoryPool allocs in use at exit...). Exporting the project hasn't been tested at all (however exporting for linux should be pretty simple and may work out of the box...). Have fun ;-) - touilleMan |
Category | Scripts | |
License | MIT | |
Repository Provider | GitHub | |
Repository Url | https://github.com/touilleMan/godot-python-assetlib-repo | |
Issues Url | https://github.com/touilleMan/godot-python/issues | |
Godot version | Godot 3.0 | |
Version String | 0.11.3 | |
Download Commit | d58c862fcd25d4af498955c7c6748b4897572a3d | d58c862fcd25d4af498955c7c6748b4897572a3d |
Download Url (Computed) | https://github.com/touilleMan/godot-python-assetlib-repo/archive/d58c862fcd25d4af498955c7c6748b4897572a3d.zip | https://github.com/touilleMan/godot-python-assetlib-repo/archive/d58c862fcd25d4af498955c7c6748b4897572a3d.zip |
Icon Url |
https://cdn.rawgit.com/touilleMan/godot-python/master/misc/godot_python.png
|