我在我的 Windows 7 机器上安装了 Mercurial 1.3。我没有安装 python,但 Mercurial 似乎没问题。
它是如何工作的?
此外,是否可以强制 Mercurial 在 IronPython 上运行,它是否兼容?
谢谢。
最佳答案
Mercurial windows 安装程序使用 py2exe 打包.这会将 python 解释器作为 DLL 放置在名为“library.zip”的文件中。
在我的机器上,它位于“C:\Program Files\TortoiseHg\library.zip”
此 zip 文件还包含 mercurial 所需的 python 库。
有关如何为 windows 打包 mercurial 的详细说明,请参阅描述 building windows installer 的开发人员页面.
关于python - 在没有安装 Python 的情况下,mercurial 如何工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1231853/