How to define dependency links in setup.py, for installing modules which are not present in PyPI

佐手、 提交于 2019-12-25 03:19:11

问题


I have a requirement (icdiff) for my module newprog and this module is present only on github, its not on PyPi, so I am writing the urls in dependency_links[],

dependency_links=["https://github.com/vnitinv/icdiff/blob/master/icdiff.py"],
install_requires=['icdiff']

But this is not working for me.It is giving

Downloading/unpacking icdiff (from newprog==0.1)
Could not find any downloads that satisfy the requirement icdiff (from
newprog==0.1)
Cleaning up...
No distributions at all found for icdiff (from newprog==0.1) 

来源:https://stackoverflow.com/questions/29295968/how-to-define-dependency-links-in-setup-py-for-installing-modules-which-are-not

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!