我应该在 requirements.txt 中输入什么才能从 github 安装这个库?

What should I put in requirements.txt to install this library from github?

这个图书馆:https://github.com/eternnoir/pyTelegramBotAPI

我知道我需要使用如下格式:

pyTelegramBotAPI==X.X.X

然而,从 github 页面上看,用什么替换 X.X.X 并不明显。

安装来自 git

如果您想从 git 安装,请使用

git+https://github.com/eternnoir/pyTelegramBotAPI.git

从 PyPI 安装

如果您只想从 PyPI 安装最新版本,只需使用

pyTelegramBotAPI

或者如果你想安装最低版本:

pyTelegramBotAPI>=3.0.0