PyPI is slow. How do I run my own server?

前端 未结 5 926
别那么骄傲
别那么骄傲 2020-12-12 17:18

When a new developer joins the team, or Jenkins runs a complete build, I need to create a fresh virtualenv. I often find that setting up a virtualenv with Pip and a large nu

5条回答
  •  长情又很酷
    2020-12-12 17:41

    Setup your local server then modify the local computer's hosts file to overwrite the actual URL to instead point to the local server thus skipping the standard DNS. Then delete the line in the host file if you are done.

    Or I suppose you could find the URL in pip and modify that.

提交回复
热议问题