#! /usr/bin/env python
from distutils.core import setup
setup(name="Kamaelia Jam Library",
      version = "0.1a1",
      packages = [
                  "Axon",
                  "Kamaelia.Apps.Jam.Internet", #STARTPACKAGES
                  "Kamaelia.Apps.Jam.Protocol",
                  "Kamaelia.Apps.Jam.Support.Data",
                  "Kamaelia.Apps.Jam.UI",
                  "Kamaelia.Apps.Jam.Util", #LASTPACKAGES
                 ],
      py_modules = [
                    "Kamaelia.Apps.__init__",
                    "Kamaelia.Apps.Jam.__init__",
                    "Kamaelia.Apps.Jam.Internet.__init__",
                    "Kamaelia.Apps.Jam.Protocol.__init__",
                    "Kamaelia.Apps.Jam.UI.__init__",
                    "Kamaelia.Apps.Jam.Util.__init__",
                   ]
      )


#! /usr/bin/env python
from distutils.core import setup
setup(name="Kamaelia Jam Library",
      version = "0.1a1",
      platforms = ["any"],
      packages = [
                  "Axon",
                  "Kamaelia",
                  "Kamaelia.Apps",
                  "Kamaelia.Apps.Jam",
                  "Kamaelia.Apps.Jam.Internet", #STARTPACKAGES
                  "Kamaelia.Apps.Jam.Protocol",
                  "Kamaelia.Apps.Jam.Support",
                  "Kamaelia.Apps.Jam.Support.Data",
                  "Kamaelia.Apps.Jam.UI",
                  "Kamaelia.Apps.Jam.Util", #LASTPACKAGES
                 ],
      )

Include sub-packages in the library setup file. This makes the __init__.py files install correctly.