Heroku 从 git 存储库中保存的 wheel 进行部署和安装

Heroku deploy and install from wheel saved in git repo

有没有办法在部署时安装依赖项(在 requirements.txt 中列出)而不是从 pypi 而是从保存在 git 存储库中的轮子? 这个问题一开始可能听起来很奇怪,但这仅仅是因为我不能在pypi上共享轮子。

首先将您的应用程序部署到 Heroku,然后您可以使用 Heroku Bash 安装任何要求 运行 这个命令用于在 heroku

上启动你的 bash
heroku run bash