We distribute commercial Python products to our clients 'manually': we are not in a position to push our code to official pypi repositories. Currently our Python product is a single wheel so the user only has to pip install our_product.whl
. For internal code maintenance we wish to split our product into libraries which we can reuse. This means that our product would now have dependencies on our library wheels, and the user would have to install the distributed artifacts in the correct order: pip install our_lib.whl our_product.whl
.
Is there some way of combining multiple packages into one wheel? Or is the only sensible answer to set up our own private pypi server and require dependencies to be installed from that?
question from:
https://stackoverflow.com/questions/65931969/distributing-multiple-dependent-pip-wheels-in-a-single-wheel 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…