Reputation: 2851
I am curious to know if there are methods where I can add additional packages to the anaconda installer. I am basically looking for a solution for creating an anaconda installer which has some extra python packages added along with it. Thus the participants to whom I give the installer need not be worrying about Internet connectivity or to add additional commands.
This is meant for an introductory hands-on python session. Hence the objective is to make the whole installation process less confusing as possible to the participants of the session.
I am aware of using docker as well as using environments. I am looking for something more simpler, say as seamless as anaconda installation for my participants.
Currently, I am thinking of doing the following.
1) Provide the .tar.gz
file of the packages along with the installer
2) After installation and creating environments, install the libraries using pip
from the .tar.gz
python -m pip install c:\mymodule\great.tar.gz
Any method which is simpler than the above one is welcome.
Upvotes: 0
Views: 118
Reputation: 6284
From the conda
documentation on creating custom channels:
If you do not wish to upload your packages to the Internet, you can build a custom repository served either through a web server or locally using a
file://
URL.
The instructions on that page tell you how to create a local custom repository from conda packages. They're aimed at people who are building their own packages but as far as I can see you can also use the existing packages that you can download from the repositories at https://repo.continuum.io/pkgs/.
You can then use the file://
URL of that repository in the -c
specification of conda create
and/or conda install
commands to set up the environment for your users to work in.
Upvotes: 1