Create a customized installer like Anaconda, with Conda

别来无恙 提交于 2019-12-31 05:01:08

问题


I am trying to encapsulate my python environment so it can be used on different maachines. For the purpose I did use pipenv and it works fine.

Now I discovered Anaconda, and I found the idea brilliant: you can download the installer (pkg or win installer), and it will do everything you do by hand, while installing the virtualenv, activate it and even set up a Jupyter interface.

Is there a procedure that allow users to implement the same, using Conda, so a user just download the package, instead of dealing with terminal and such? I have to deploy my environment on machines where users are not that proficient with terminal, and having a single installer that does everything would save me time to actually configure the environment


回答1:


(conda) constructor

The description for the package constructor matches your use case almost to the word:

constructor is a tool which allows constructing an installer for a collection of conda packages. Basically, it creates an Anaconda-like installer consisting of conda packages.

See the GitHub repo for more details.

One still needs to build a separate installer per architecture (no noarch support), but the example they provide makes it seem rather straight-forward.



来源:https://stackoverflow.com/questions/54487292/create-a-customized-installer-like-anaconda-with-conda

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!