在 Windows 下构建基于 PyGTK 和 poppler 的二进制文件
很长一段时间以来,我一直在徒劳地努力让我正在开发的软件能够在 Windows 下运行。它是用Python(2.x系列)编写的,虽然所有Linux用户在使用源包时都可以从它的GUI中受益,但似乎很多下载它的人都选择Windows包,我只看过Windows包能够提供命令行二进制文件。
GUI 是使用 Glade/GTK 构建的,并使用 poppler 嵌入 PDF 查看器。我过去发现过各种指南(对不起,我现在手头没有它们),我试图虔诚地遵循这些指南,但我从来没有成功过。
那么,是否有可靠的教程准确解释如何安装所需的库(GTK 和 Poppler),以便我可以为我的用户构建相应的二进制文件?
For quite some time now, I've been fighting in vain to get a software I'm working on to work under Windows. It's written in Python (the 2.x series), and although all Linux users can benefit from its GUI when they use the source package, it seems that many people who download it go for the Windows package, for which I've only been able to provide command-line binaries.
The GUI was built using Glade/GTK, and uses poppler to embed a PDF viewer. I've found various howto's in the past (I don't have them at hand right now, sorry), which I've tried to follow religiously, but I never got things to work at all.
So, is there a reliable tutorial explaining exactly how to install the needed libraries (GTK and Poppler), so that I can build the corresponding binaries for my users?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里有一个窗口安装程序: http://download.gnome.org/binaries/win32 /pygtk/2.22/
There is a window installer here: http://download.gnome.org/binaries/win32/pygtk/2.22/