The buildpack is built to install packages such as scikit-learn and NLTK Data that official buildpack cannot handle. The default environment is Python 3 with Miniconda3.
You can add it to an existing application using Heroku CLI. To avoid downloading duplicated packages, please do not use other python buildpacks concurrently.
$ heroku buildpacks:add https://github.com/yuxiaosun/condanltk-buildpack.git -a [app-name] $ git push heroku master
To install python packages, add the following text files under your app's root directory:
This buildpack will result in a large slug size upon first deployment to heroku app (~300MB). Subsequent builds will be much smaller (~200MB). You can also refer to this article for reducing slug size.
Copy the snippet above into CLI.