Python setuptools: How can I list a private repository under install_requires?

前端 未结 8 1449
南旧
南旧 2020-12-04 15:07

I am creating a setup.py file for a project which depends on private GitHub repositories. The relevant parts of the file look like this:

from s         


        
8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 15:31

    Using archive URL from github works for me, for public repositories. E.g.

    dependency_links = [
      'https://github.com/username/reponame/archive/master.zip#egg=eggname-version',
    ]
    

提交回复
热议问题