创建 python 发行版
所以标题已经说明了一切。我们正在开发一个项目,该项目开始获得大量依赖项。到目前为止,我们使用的是 setuptools,但是越来越多的依赖项要么不容易安装(例如 wxPython),要么在某些使用 easy_install 的机器上导致一些问题(例如最新的 matplotlib 或 numpy)。
因此,我们正在寻找另一个解决方案,我们将创建自己的 python 发行版,该发行版将保存所有依赖项,以使用户尽可能轻松地使用我们的应用程序。 (类似于 Enthought 或 Python(x,y) 但规模要小得多)。现在我的问题是:做这样的事情有多困难,以及您是否有任何关于从哪里开始/有关该领域的一些文档/可能与此相关的一些工具的建议。
问候, 博格丹
So the title kind of says it all. We are working on a project that is starting to get a very large number of dependencies. So far we were using setuptools but more and more of these dependencies are either not easy installable (eg. wxPython) or are causing some problems on some machines with easy_install (eg. latest matplotlib or numpy).
So we are looking at another solution where we would create our own python distribution that would hold all our dependencies to make using our application as easy as possible to the users. (Something like Enthought or Python(x,y) but on a much lower scale). Now my question would be: how difficult would be to do somehthing like this, and if you would have any suggestion as to where to start/ some documentation on this domain/ some tools that might held with this.
Regards,
Bogdan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
conda 构造函数 将允许您基于 YAML 配置创建类似 Anaconda 的安装程序 - python,其中包含一个自解压模块存档 - 结果数据包无需编译,无需 root 访问权限。只需运行并更新 PATH 即可。
conda constructor will allow you to create Anaconda like installer based on YAML config - python with modules in one self extracting archive - outcome packet no need compilation, no root access. Just run, and update PATH.
cx_Freeze 将允许您不仅拥有一个单独的 python 发行版,而且还拥有一个精简版
cx_Freeze will allow you to have not only a separate python distribution, but a stripped-down one