用于 Python 3 的 wxPython [英] wxPython for Python 3

查看:72
本文介绍了用于 Python 3 的 wxPython的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

wxPython 是否有适用于 Python 3 的版本?

Does wxPython have a version for Python 3?

如果有,我从哪里可以得到它?

If it does, where can I get it?

推荐答案

关于这个问题的最新消息发布在 wxpython 维基.在这里你可以找到更新初始答案的everal edits(第一个更新的)

Updated news on this question are being posted in the wxpython wiki. Here you can find everal edits updating the initial answer (first more recent)

2011 年 12 月:好消息!第一次构建 project Phoenix 将支持 Python 2.x 和 3.x 的新 wxPython.然而,当前版本适用于 python 2.7.

December 2011: Great news ! First build of project Phoenix the new wxPython that will support both Python 2.x and 3.x. Current builds are however for python 2.7.

2011 年 11 月:Wiki 的最后更新时间为 2011 年 4 月 19 日.== 没有 3.x 的消息 :-(

November 2011: Last Update of the wiki is from 19-April-2011. == No news for 3.x :-(

  • wxPython下一代":(进行中)在过去的几年里,关于一种全新的生成用于 wxPython 扩展模块的代码的方法有一些断断续续的讨论(又名 C++ 包装器代码).已经朝着这个目标完成了一些设计工作,并且已经实施了概念验证.简而言之,概念验证超出了我的所有期望,我认为这将是自动化生成更多包装器代码的绝佳方式.有关新 wxPython 的目标和设计的更多信息可以在 ProjectPhoenix 中找到,源代码可以在 wx 存储库中查看.虽然新的方法将来会使 wxPython 的维护变得更加简单,但过渡的工作仍然很多,因此在完成和验证更多低级基础部分之前,它不会成为最高优先级的任务.与此同时,当前的 2.9.x ReleaseSeries 将继续使用旧技术进行改进.#

Tentative wxPython Roadmap

  • wxPython "Next Generation": (ongoing) There has been some discussions off and on over the past couple years about a whole new way to generate the code used for the wxPython extension modules (a.k.a the C++ wrapper code). There has been some design work done towards this goal, and a proof of concept has been implemented. In a nutshell the proof of concept has exceeded all my expectations and I feel that this will be an excellent way to automate much more of the generation of the wrapper code. More information about the goals and design of the new wxPython can be found at ProjectPhoenix, and the source code can be viewed in the wx repository. Although the new approach will make maintenance of wxPython much simpler in the future, it is still a lot of work to make the transition and so it will not become the highest priority task until more of the low-level foundational pieces are completed and verified. In the meantime the current 2.9.x ReleaseSeries will continue to progress using the old technology. #

Python 3.x 支持:(未知)预计为 Next Generation 项目所做的一些事情将使维护对 Python 2.x 和 Python 2.x 的支持变得更加容易.x 和 3.x 在同一个源代码树中,所以我一直在推迟在 Python 3.x 端口上投入大量精力,以防止在进行 NG 切换后可能最终被丢弃的东西上浪费时间.但是,如果该下一代项目最终被搁置太久,那么我可能会重新审视该项目并提高优先级.

Python 3.x support: (unknown) It is expected that some things being done for the Next Generation project will make it easier to be able to maintain support for both Python 2.x and 3.x in the same source tree, so I've been delaying putting much effort into a Python 3.x port in order to prevent wasting time on something that may end up getting thrown away once the NG switch is made. If that Next Generation project ends up being left on-hold for too long however then I'll probably revisit this item and move up the priority.

此时(2011 年 11 月)wxPython 是继 Django 之后,最需要的 Python 3 包-编码员:

At this moment (Nov 2011) wxPython is, after Django, the most desired package for Python 3-coders:

以下是最常被提名的 15 个用户需要 Python 3 的软件包支持

Here are the 15 most often nominated packages where users desire Python 3 support

一揽子票数
姜戈 1970
wxPython 941
matplotlib 875
...................
………………

Package Number of Votes
Django 1970
wxPython 941
matplotlib 875
..................
..................

2010 年 6 月:py3k 中没有 wxpython 的时间表

Jun 2010: There is not schedule for wxpython in py3k

  • wxPython下一代":(未来)在过去的几年里,关于一种全新的方式来生成用于 wxPython 扩展模块的代码(也称为C++ 包装器代码).为了这个目标已经完成了一些设计工作,并且开始了一些关于工具的工作.然而,由于这方面的工作进展缓慢,我决定将其搁置一段时间,以便我可以将 2.9 版本系列中的一些新功能和修复交到 wxPython 开发人员手中.我希望能够在 2.9.1 版本发布后的某个时候将注意力转移回这个目标.一旦设计、计划和工具足够完整,我将发布更多相关信息,并将其开放给其他开发者以助其一臂之力.
  • Python 2.7 支持:(现在)Windows 和 OSX 构建机器已使用 Python 2.7 进行更新,2.7 的二进制文件包含在 2.8.11.0 中,并将包含在未来的预览构建和版本中.
  • Python 3.x 支持:(未知)我希望为 Next Generation 项目所做的一些事情能够更轻松地维持对 Python 2.x 和3.x 在同一源代码树中,所以我一直在推迟在 Python 3.x 端口上投入大量精力,以防止在进行 NG 切换后可能最终被丢弃的东西上浪费时间.但是,如果该下一代项目最终被搁置太久,那么我可能会重新审视该项目并提高优先级.

Tentative wxPython Roadmap

  • wxPython "Next Generation": (future) There has been some discussions off and on over the past couple years about a whole new way to generate the code used for the wxPython extension modules (a.k.a the C++ wrapper code). There has been some design work done towards this goal, and the beginnings of some work on tools. However since work was progressing slowly on this I decided to put it on hold for a bit so I could get some of the new features and fixes in the 2.9 release series into the hands of the wxPython developers. I expect to be able to switch my focus back to this goal sometime after the 2.9.1 release. Once the design, plans and tools are complete enough I'll publish more information about it and open it up for other developers to lend a hand.
  • Python 2.7 support: (now) The Windows and OSX build machines have been updated with Python 2.7 and binaries for 2.7 were included with 2.8.11.0 and will be included in future preview builds and releases.
  • Python 3.x support: (unknown) I'm hopeful that some things being done for the Next Generation project will make it easier to be able to maintain support for both Python 2.x and 3.x in the same source tree, so I've been delaying putting much effort into a Python 3.x port in order to prevent wasting time on something that may end up getting thrown away once the NG switch is made. If that Next Generation project ends up being left on-hold for too long however then I'll probably revisit this item and move up the priority.

这篇关于用于 Python 3 的 wxPython的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆