4

I am wanting to create a suite of interrelated packages in Python. I would like them all to be under the same package but installable as separate components.

So, for example, installing the base package would provide the mypackage but there would be nothing in mypackage.subpackage until I install it separately.

Is this possible with distutils and pip?

4

1 回答 1

5

您要查找的内容称为“命名空间包”,请参阅此 SO question

于 2010-10-12T11:47:58.963 回答