How to create an offline package that can be installed by the Python Installation Manager

After PEP 773 was accepted, msi and installer installation packages were enabled. Theoretically, we recommend using Python Installation Manager for all installations. This seems perfect, but I would like to ask:

How should we release our own builds?

All the documents are teaching us how to use the Python Installation Manager to download and install such packages. However, I haven’t found any tutorials that teach us how to build such packages, including index.json and __install__.json

I noticed that the packages downloaded by the Python Installation Manager are like this:

downloadPath/

  index.json

  pythoncore-3.xx-(32|64)-3.xx.xx.zip/

    DLLs/
    Doc/
    include/
    Lib/
    libs/
    tcl/
    
    __install__.json
    LICENSE.txt
    python.exe
    ......
1 Like