a greasemonkey-to-firefox-addon conversion script
Welcome to the gm2addon tool, which creates a firefox addon from a greasemonkey user script. gm2addon not only generates the .XPI, but can also manage the update.rdf file so that updates can be deployed easily as well.
The gm2addon tool can be used on the command line directly with many control options, or it can be embedded into other python scripts by importing the gm2addon module.
Please see the generated documents in the “doc” directory (for downloaded packages) or online at <http://uberdev.org/gm2addon/> for significantly more how-to documentation as well as an API reference.