简体   繁体   中英

Setting up a private pypi package?

I am planning to create a python package which can only be used by team in my univ.I can host that on my university server.Is there any reference, guide or tutorial to do the same.I have developed pip packages previously but they were pushed onto the public space. The idea is to put code on github (enterprised by my univ) and point the pip package to the git repo.

Maybe just pointing the dependencies (requirements.txt/setup.py) of the packages that depends on this private package to that package's private github repo URL is enough. Add a line like this to your requirements.txt

-e git+ssh://git@github.com/example/example.git#egg=example

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM