[Distutils] A new, experimental packaging tool: distil
Paul Moore
p.f.moore at gmail.com
Tue Mar 26 11:08:39 CET 2013
On 26 March 2013 09:49, Philippe Ombredanne <pombredanne at nexb.com> wrote:
> Would anyone know of a better way to package things in a single
> python-executable bootstrapping script file without obfuscating the
> source contents in compressed/encoded/obfuscated byte arrays?
Packaging as a zip file is a good way - but on Windows the file needs
to be named xxx.py (which is surprising, to say the least :-)) for the
relevant file association to be triggered (and on Unix, a #! line
needs to be prepended).
Windows users could define additional associations (pyz and pywz) for
"zipped Python applications". Maybe the Python installer should
include these in 3.4+, to improve the visibility of this approach.
Paul.
More information about the Distutils-SIG
mailing list