I've downloaded all packages from PyPI and I'd like to create a local mirror using devpi.

I had the following idea:

     1. create a new index say /root/pypimirror based on /root/pypi

     2. upload the entire folder containing 38,000+ packages onto /root/pypimirror

     3. eventually setting /root/pypimirrot to NotVolatile (if this can be done, somehow)

    /myuser/myindex
        +-- /root/pypimirror
                +-- /root/pypi

Another idea would be creating a "parallel" index to /root/pypi and exposing a third index which derives from both.

    /myuser/myindex
        +-- /root/pypi
        +-- /root/pypimirror


Does this idea make sense? Is there a better way of doing it, in particular without having to download everything again from PyPI?

I have another concern: performance. Since 38,000+ packages implies on large directories in the file system... do you think that devpi will have troubles managing such amount of packages?

Thanks a lot,

-- Richard