This is a Buildpack for Conda, the Python distribution for scientific computing by Continuum Analytics.
This buildpack enables the installation of binary packages through the open source conda application. Conda is recognized as being core to Continuum's Anaconda Scientific Python distro but it's also at the heart of the lighter weight Miniconda distro which we use here to install only the binary packages we need for our apps deployed on PaaS platforms like Heroku and Dash Deployment Server.
A conda-runtime.txt
file is needed, it should contain the version of conda
to install, in the form of Miniconda<2-or-3>-<conda-version>
, e.g. Miniconda3-4.5.12
The supported runtimes are the ones in this list and >= 3.18.3
If this buildpack is used for a deployment to Plotly's Dash Deployment Server in airgapped
(offline) mode, the only conda runtimes currently supported are Miniconda3-4.5.12
and Miniconda2-4.5.12
To control what binary packages are installed by conda, supply a conda-requirements.txt
file (which can be created by capturing the output of conda list -e
for your working conda environment).
Like when using the standard buildpack
for python from Heroku, you can also still supply a requirements.txt
file for pip to process. This allows you to install binary packages via conda
when possible and still use pip for packages that are not available via conda
.
A .condarc
configuration file can be added to the root of the app, this file will be detected and used to build and run the conda app. This can be useful for a number of things as described in the official conda documentation linked to earlier in this paragraph, including using a proxy for conda installs and using conda channels other than the default one.