我有此应用程序https://github.com/staticdev/django-crud-utils,需要安装django-sorting才能正常工作。但这不是原始的django排序,而是我制作的 fork :https://github.com/staticdev/django-sorting

如何将其放入用于打包的setup.py文件中?

Tks。

最佳答案

包括它作为可编辑的要求,并注意您必须明确提及卵的名称:

-e git+https://github.com/staticdev/django-sorting#egg=django-sorting

有关更多选项,请参见http://www.pip-installer.org/en/latest/requirements.html

关于django - 特定的GIT应用作为PIP软件包安装要求,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12141762/

10-14 19:43
查看更多