Module development - integrating custom content types I want to create a module which would need custom content types from the cck module. I know in the .info I can say a dependency is the cck module.

How can I best have the module create the content type? I want this to be easily distributed rather than when I put it on a website I have to also create the content type using cck.
One way is to create an export of a CCK content type to use in the module. For an example of this method see How to create a CCK content type and fields from a module.

Another exported CCK example