Mercurial > p > roundup > code
view tools/base64 @ 4492:5d43b2a5eb69
test that announcement.txt is pure ASCII...
...required at least up to python2.5 by distutils. (Note tht
doc/announcement.txt is the *old* announcement from the last release,
I've changed it so that setup.py will work for now and to illustrate
what needed to be changed).
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Wed, 20 Apr 2011 13:12:53 +0000 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print base64.encodestring(zlib.compress(sys.stdin.read()))
