Install Python Package From Private Bitbucket Repo

前端 未结 1 874
梦毁少年i
梦毁少年i 2021-02-01 05:10

I created a Python 3.5 package for work, which is in a private Bitbucket repo and I can easily pull the code and do a \"python .\\setup.py install\" to have it install, but I wa

相关标签:
1条回答
  • 2021-02-01 06:00

    You can use the https option listed in pip_install. https://pip.pypa.io/en/stable/reference/pip_install/#git

    Sample Code:

    pip install git+https://USER_NAME@GIT_URL/PATH_TO_YOUR_REPO.git
    

    You can use the url Bitbucket gives you when you request the clone url. Just remember to add the git+ to it.

    0 讨论(0)
提交回复
热议问题