I want to deploy a Python application on Heroku. I know that by default Heroku installs requirements specified in /requirements.txt
. However, I want to be able to set the location of the requirements (e.g. using environment variables). Is it possible?
It is motivated by using various packages in different environments. It other words, I want to install packages listed in /requirements/production.txt
on a production server and use /requirements/development.txt
on a development server (both running on Heroku).