If you have ever needed to package up and deploy python modules or ruby gems, you know that it is kind of a pain. It is a very manual process. Enter FPM (Effing Package Management) with its newly minted osxpkg support. Thanks to Tim Sutton’s recent contribution to fpm, you can now roll Apple Packages. FPM allows you to package up python modules or ruby gems and spits out an Apple Package for you. FPM does other cool things as well, check it out on their project page.
Tim gives a brief overview of the new FPM functionality on a recent blog blog and also discusses a clever way to generate Apple Packages that are compiled by brew.Mac Operations