views:

28

answers:

1

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?

+1  A: 

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

Steven