Metadata-Version: 2.1
Name: upycc
Version: 0.3.0
Summary: UNKNOWN
Home-page: https://github.com/thautwarm/Traffy.UnityPython
Author: thautwarm
Author-email: twshere@outlook.com
License: mit
Platform: any
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8.0
Description-Content-Type: text/plain
Requires-Dist: wisepy2 (>=1.2.1)

UnityPython
------------

UnityPython is a Python implementation which runs everywhere through IL2CPP, making it a good option for modding games.

UnityPython is based on CPython 3.10, but not fully compatible with CPython.

Usage (CLI)
------------

1. runtime: Download the binaries from the release page, and unpack them to a directory in '$PATH'.
2. compiler: 'pip install upycc' with a Python (>=3.8) distribution.
3. create a project as follow, 'cd' into it, and run this project with 'upy .'

    - myupy_proj
        - main.py
            from .libs.some_lib import lib_func
            args, kwargs = lib_func(1, 2, 3, a=1, b=2)
            print(args, kwargs)

        - libs
            - some_lib.py
                def lib_func(*args, **kwargs):
                    return args, kwargs

        - out (for compiler output)

Usage (Unity Library)
----------------------

Under construction.

IDE Support
-----------------

UnityPython has excellent IDE support based on VSCode Pylance:

    https://github.com/thautwarm/vscode-unitypython/tree/main/src


Development
--------------------

Check out DEV.md in this project.


