This is a Heroku buildpack for Python apps with added support for Node package dependencies.
It uses:
Use heroku-buildpacks:
$ heroku config:set BUILDPACK_URL=https://github.com/sgtFloyd/heroku-buildpack-python-node
The buildpack will detect your app as Python if it has the file requirements.txt
in the root.
It will use Pip to install your dependencies, vendoring a copy of the Python runtime into your slug.
If your project contains a package.json
, npm will be used install Node dependencies.
You can also provide arbitrary releases Python with a runtime.txt
file.
$ cat runtime.txt
python-3.3.0