Take a look at Fred Lundh's Squeeze programme.

quote ... " If all you need is to wrap up a couple of Python scripts and modules into a single file, Squeeze might be what you need.

The squeeze utility can be used to distribute a complete Python application as one or two files, and run it using a standard Python interpreter kit.

squeeze compiles all Python modules used by the application (except for the standard library files), and packs them all in a single, usually compressed “bytecode package”. The import statement is then modified (using the ihooks module) to look in the package before searching for modules on the disk. You can also put arbitrary data files in the package, and access them via the __main__ module.
..."

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to