Squisher -- a lightweight, self-contained alternative to eggs?

Adam Atlas adam at atlas.st
Tue Mar 6 22:14:50 EST 2007


I updated it.
http://adamatlas.org/2007/03/Squisher-0.2.py

New Things:
- It supports C extensions within squished packages.
- It supports including squished packages within other squished
packages. (That is, you can have a package that includes a .pyc
generated by this, and turn that whole package into one .pyc.)
- If you import it after you import setuptools in a setup.py, it will
override a bit of setuptools so that bdist_egg will result in an egg
that can also be used as a squished package (if you rename it to
something ending in .pyc).
- It puts a helpful docstring at the top of generated .pyc files,
mainly for the purpose of being easy to see if you open the file in a
text editor. (It tells you what can be done with the file -- name it
something .pyc, or unzip it, or, if applicable, use it as an egg.)




More information about the Python-list mailing list