Search code examples
pythonpippypi

How can I create a local own PyPI repository index without a mirror?


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 want to create for local only without any mirrors due to security reason, and it will be put under Apache's control.

The command pypimirror looks has to be initialized once, which it needs to mirror.

How can I generate a PyPI Simple Index based on local Python packages?

Is there another simple script for this?


Solution

  • Take a look at pip2pi. It seems to be exactly what you are looking for.