RubyScript2Exe transforms your Ruby application into a standalone,compressed Windows,Linux or Mac OS X (Darwin) executable.
还有一个不错的blog post about it
另一个可能的选项是Shoes GUI framework,它可以从您的Shoes应用程序创建Widows,Linux和OS X可执行文件.
蟒蛇
py2exe is a Python Distutils extension which converts Python scripts into executable Windows programs,able to run without requiring a Python installation.
py2exe is used by BitTorrent,SpamBayes,and thousands more
Bambalam PHP EXE Compiler/Embedder
Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. The exe files produced are totally standalone,no need for PHP dlls etc.
是否有可能轻松制作Mac应用程序?
py2app is a Python setuptools command which will allow you to make standalone application bundles and plugins from Python scripts. py2app is similar in purpose and design to py2exe for Windows.
此外,开发人员工具中还包含一个实用程序“Build Applet”.将Python脚本拖放到它上面,它就变成了一个.app.该实用程序位于/ Developer / Applications / Utilities / MacPython 2.5 /
注意,以上所有内容基本上都是您的脚本,将其与Python解释器和任何依赖项一起打包,并在启动时运行您的脚本.如果您使用的GUI平台无法在Windows上运行,那么通过Py2EXE运行它将无法正常运行!
同样如Peter D所述,您需要注意依赖性 – 如果您的应用程序需要MysqL数据库,您的用户将必须单独安装以使用您的应用程序,并且您使用的每个库都会为您的可执行文件添加大小.