how to create local own pypi repository index without mirror?

前端 未结 5 1561
生来不讨喜
生来不讨喜 2020-12-01 05:07

We have several own python packages and want to create local pypi repository for them using simple interface like https://pypi.python.org/simple/

This repository I w

5条回答
  •  抹茶落季
    2020-12-01 05:57

    We had a similar need at my company. Basically how can we upload "closed source" packages to an index while being able to install them as if they were on PyPI?

    We have sponsored a project called devpi which acts as a PyPI cache (packages you access from PyPI will be cached on your server) as well as a powerful and fast index server. The documentation is available at http://doc.devpi.net/latest/.

    Next on the roadmap is mirroring for multi geos deployment. To kick the tires on your machine takes about 5 minutes (look at the quick start guides). Finally devpi is compatible with both pip and easy_install (i.e. you do not need the devpi client installed on your machine).

    Hope this help.

提交回复
热议问题