厌倦了py2exe [英] Getting tired with py2exe

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

问题描述

我慢慢地厌倦了维持py2exe。它远非完美,

虽然它有一些有趣的功能(我会说)。


除了工作之外,问题在于它是好的对我来说足够了 - 我

可以用它完成我需要的一切。但是我认为我使用的库存比其他Python程序员少得多,所以很多错误永远都不会给我带来好处。


有趣的是,最近推出的捆绑文件选项

允许构建单文件exes已经引起了很多兴趣 -

尽管只有用例(到目前为止)我自己也是为了实现

inproc COM服务器,它将与Python客户端(和其他的b $ b $ Python inproc COM服务器)兼容,因为它们完全隔离Python的结果

虚拟机。


是否有人有兴趣接管维护,文档和

进一步开发?


应该将py2exe集成到另一个更大的包中吗?想到了Pywin32

,还有菲利普艾比的设置工具(这就是为什么我发布到

distutils-sig的原因)...


托马斯

解决方案

前几天宣布的PyInstaller怎么样?功能

列表看起来很棒,看起来开发人员打算维护并且

无限期地增强程序。

http://groups.google.com/group/comp....3da383c1749d9f
http://pyinstaller.hpcf.upr.edu/pyinstaller


功能亮点:

*将Python程序打包成标准可执行文件,在没有安装Python的情况下工作在
计算机上。

*多平台:适用于Windows,Linux和Irix。

* Multiversion:自1.5以来在任何版本的Python下工作。

*双包装模式:

*单个目录:构建包含可执行文件的目录加

all

外部程序使用的二进制模块(.dll,.pyd,.so)。

*单个文件:构建一个可执行文件,完全

自包含,

在没有任何外部依赖的情况下运行。

*通过着名的UPX

压缩器支持自动二进制打包。

*可选控制台模式(请参阅

运行时的标准输出和标准错误)。

*可选择的可执行文件图标(仅限Windows)。

*可执行文件中完全可配置的版本资源部分(Windows

)。

*支持构建COM服务器(仅限Windows)。


2005年9月20日星期二11:43,Steve M写道:

那天宣布的PyInstaller怎么样?功能列表看起来很棒,看起来开发人员打算维护并无限期地增强程序。
....
http://pyinstaller.hpcf。 upr.edu/pyinstaller




这是一个短暂的无限期:


未找到

在此服务器上找不到请求的URL / pyinstaller。

pyinstaller.hpcf.upr.edu上的Apache / 2.0.53(Fedora)服务器端口80

James


-

James Stroud

加州大学洛杉矶分校基因组学和蛋白质组学研究所

Box 951570

洛杉矶,加利福尼亚州90095

http://www.jamesstroud.com/


James Stroud写道:


[snip]

http://pyinstaller.hpcf.upr.edu/pyinstaller


Tha t'的一个简短的无限期:

未找到
在此服务器上找不到请求的URL / pyinstaller。
Apache / 2.0.53(Fedora)服务器在pyinstaller.hpcf.upr.edu端口80


似乎URL是 http://pyinstaller.hpcf.upr.edu

从网站上看,这似乎是McMillan Installer的延续,



他们声称远远优于到py2exe!我个人放弃了

MMI,更喜欢Windows上的py2exe和UNIX上的cx_Freeze。


如果他们想要使用UPX,那就好了对他们来说,但我有一些

的问题,并不是特别想到运行时

减压和两个过程的事情。当你可以使用7zip或其他任何东西来压缩

可分发时,为什么还要保持压缩

一旦下载?


好​​啊,我希望你,无论谁接过py2exe和PyInstaller家伙

祝你好运!


I''m slowly getting tired maintaining py2exe. It is far from perfect,
although it has interesting features (I would say).

The problem, apart from the work, is that it is good enough for me - I
can do everything that I need with it. But I assume I use far less
libaries than other Python programmers, so a lot of bugs will never bite
me.

It is also interesting that the recently introduced bundle-files option,
which allows to build single-file exes has gained a lot of interest -
although the ONLY use case (so far) I have myself for it is to implement
inproc COM servers which will compatible with Python clients (and other
Python inproc COM servers) because of the total isolation of the Python
VMs.

Is anyone interested in taking over the maintainance, documentation, and
further development?

Should py2exe be integrated into another, larger, package? Pywin32
comes to mind, but also Philip Eby''s setuptools (that''s why I post to
distutils-sig as well)...

Thomas

解决方案

What about PyInstaller that was announced the other day? The feature
list looks great, and it appears the developers intend to maintain and
enhance the program indefinitely.

http://groups.google.com/group/comp....3da383c1749d9f

http://pyinstaller.hpcf.upr.edu/pyinstaller

Feature highlights:
* Packaging of Python programs into standard executables, that work on
computers without Python installed.
* Multiplatform: works under Windows, Linux and Irix.
* Multiversion: works under any version of Python since 1.5.
* Dual packaging mode:
* Single directory: build a directory containing an executable plus
all
the external binary modules (.dll, .pyd, .so) used by the program.
* Single file: build a single executable file, totally
self-contained,
which runs without any external dependency.
* Support for automatic binary packing through the well-known UPX
compressor.
* Optional console mode (see standard output and standard error at
runtime).
* Selectable executable icon (Windows only).
* Fully configurable version resource section in executable (Windows
only).
* Support for building COM servers (Windows only).


On Tuesday 20 September 2005 11:43, Steve M wrote:

What about PyInstaller that was announced the other day? The feature
list looks great, and it appears the developers intend to maintain and
enhance the program indefinitely. ....
http://pyinstaller.hpcf.upr.edu/pyinstaller



That''s one short "indefinitely":

Not Found
The requested URL /pyinstaller was not found on this server.
Apache/2.0.53 (Fedora) Server at pyinstaller.hpcf.upr.edu Port 80

James

--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/


James Stroud wrote:

[snip]

http://pyinstaller.hpcf.upr.edu/pyinstaller

That''s one short "indefinitely":

Not Found
The requested URL /pyinstaller was not found on this server.
Apache/2.0.53 (Fedora) Server at pyinstaller.hpcf.upr.edu Port 80
It seems that the URL is http://pyinstaller.hpcf.upr.edu
From the website it seems this is a continuation of McMillan Installer,


which they claim is "far superior" to py2exe! Personally I gave up on
MMI, prefering py2exe on Windows and cx_Freeze on UNIX.

And if they want to use UPX, well that''s up to them, but I''ve had some
problems with it and don''t particularly like the thought of runtime
decompression and the two process thing. And when you can compress the
distributable using 7zip or whatever, why bother keeping it compressed
once downloaded?

Ah well, I wish you, whoever takes over py2exe and the PyInstaller guys
the best of luck!


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

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