【问题标题】:Python apps in the Mac app store with TKinter带有 TKinter 的 Mac 应用商店中的 Python 应用
【发布时间】:2014-06-28 05:47:03
【问题描述】:

我在 python 中的 Tkinter GUI 中编写了一个游戏。我可以使用 py2app 将游戏打包到应用程序中。是否可以将可执行文件部署到 mac 应用商店?我需要使用不同的 GUI 构建器吗?我正在使用 Tkinter,因为它是所有 Mac 的默认设置... 谢谢。

【问题讨论】:

  • 不确定 Tkinter 应用,但 Kivy:kivy.org/#home 是一个跨平台框架
  • 我不想使用其他 GUI 构建器...我需要坚持使用 Tkinter。
  • 如果你google“py2app in ios store”,第一个结果就是你想要的。

标签: python macos user-interface tkinter mac-app-store


【解决方案1】:

您可以使用 py2app 或像我一样使用 cx_Freeze 将 Tkinter 应用程序部署到 Mac App Store。有关示例,请参阅https://itunes.apple.com/us/app/quickwho/id419483981?mt=12

【讨论】:

    【解决方案2】:

    我觉得这个可操作性不高,因为我的一个基于Tkinter的200行代码的小Python程序被拒绝了,原因如下:

    Your app uses or references the following non-public APIs:
    
    • Contents/Frameworks/libtk8.6.dylib/NSDrawerWindow
    
    The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-05-19
      • 2015-11-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-22
      • 1970-01-01
      • 2011-12-23
      相关资源
      最近更新 更多