Question

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?

Was it helpful?

Solution

What you are looking for is called "namespace packages", see this SO question

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top