Ensure your local setup is working.
git checkout -b prod
heroku create --buildpack https://github.com/jdhenke/heroku-buildpack-python-extras
git push -u heroku prod:master
Uncomment the bottom three lines of requirements.txt
.
git add requirements.txt
git commit -m 'add second wave of requirements'
git push heroku prod:master
heroku open
Some pip
packages require numpy
during their installation.
Unfortunately, packages do not have access to other packages that are installed in the same round as each other.
Therefore, the first wave installs numpy
and everything that doesn't require numpy
during installation.
The second wave then installs the packages that do require numpy
during installation.