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.
An environment.yml
file is needed. This is a standard conda env file but it should also contain
the version of conda
to install, as the runtime
in the form of Miniconda<2-or-3>-<conda-version>
, e.g. Miniconda3-4.7.10
The supported runtimes are the ones in this list and >= 3.18.3
If a requirements.txt
file is found it will also run pip install -r requirements.txt
An example environment.yml
shows how to define conda and pip packages with custom channels and the runtime.
name: myapp
runtime: Miniconda3-4.7.10
channels:
- anaconda
- conda-forge
dependencies:
- python=3.7
- pip
# etc...
- pip:
- numpy==1.17.0
# etc..