Skip to content
/ miniconda-template Public template

Template for generating isolated Miniconda environments

License

Notifications You must be signed in to change notification settings

jarq6c/miniconda-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Distributable Miniconda Environments

This template can be used as a starting point for building distributable Miniconda based packages. It includes a Makefile with targets necessary to build a reproducible Python virtual environment based on miniconda. To learn more about Miniconda see the Miniconda Documentation.

Build

$ make

Running make in this directory will retrieve and build the default environment specified in the Makefile. The chain of dependencies for the default target includes targets that retrieve a miniconda installation script for Linux and creates a stand-alone miniconda environment with the required dependencies. The name of the miniconda environment is miniconda3 and can be activated as normal using source miniconda3/bin/activate and deactivated using conda deactivate. The default target includes an instruction to upgrade conda, and install pip and wheel.

To start from scratch run clean:

$ make clean