From your ZenPack's page in the GUI select the Export ZenPack... menu item to create an egg file. The file is first created in your ZenPack's dist directory then copied to $ZENHOME/export. You can optionally also download the egg file through your web browser when doing the export. As part of the export process Zenoss exports database objects to the objects/objects.xml file in your ZenPack source directory. If you don't need to update the objects .xml file you can create the egg from the command line instead
cd <YourZenPackDirectory> python setup.py bdist_egg
This creates the egg file in the ZenPack's dist directory.
Users who install your egg file will not be able to edit the ZenPack or reexport it. These functions require the setup.py file which is not usually distributed within the egg file itself. In most cases this is desirable because end users should usually not be making changes and redistributing a different version of your ZenPack than the one you developed. Sometimes however you want to allow others to codevelop a ZenPack with you. In these cases you must provide them with the entire source directory, not just an egg file.