Python iOS Template

联合创作 · 2023-09-30 22:45

Python iOS Template 是构建可以在 iOS 上运行的 Python 应用模板。

快速入门:

  1. 安装 cookiecutter

    $ pip install cookiecutter
  2. 在 Python-iOS template 运行 cookiecutter

    $ cookiecutter https://github.com/pybee/Python-iOS-template
  3. 下载 Python iOS 支持包,提取出:

  • ffi.framework

  • Python.framework

项目目录架构示例:

iOS/
    app/
        myproject/
            __init__.py
            main.py
    app_packages/
    ffi.framework/
        ...
    Python.framework/
        ...
    myproject/
        ...
    myproject.xcodeproj/
浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报