[Distutils] Question about creating rpms using distutiils
Bastian Kleineidam
calvin at users.sourceforge.net
Thu Nov 4 12:43:15 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On Thu, Nov 04, 2004 at 04:24:27PM +0530, Steve wrote:
> BTW, Yes I am aware that distributing the pyc's are like
> distributing the source code ...but well, try and explain that to my
> PHB <sigh>
The simplest solution to this problem is a code obfuscation tool, which
is indeed quite effective and easy to use when the tool is not very buggy ;)
Pyobfuscate seems to be such a tool, though I have not tested it.
Python already has a zip file importer (look for zipimport.c in the
Python source).
So another solution is to write a custom module importer in C (which is
somewhat harder to decompile) that can read encrypted modules.
Regards,
Bastian
PS: there was also a thread on comp.lang.python about this:
http://coding.derkeiler.com/Archive/Python/comp.lang.python/2003-10/3659.html
- --
,''`. Bastian Kleineidam . calvin (at) debian.org
: :' :
`. `' GnuPG Schlüssel http://kampfwurst.net/gpgkey.txt
`-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBihXTeBwlBDLsbz4RAj/9AJ9gMS9s+l+Zy+ydflBz5DDEIQSGagCfRYVa
xmr1tQ09VMgFHMINMsTCG3U=
=PHMU
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list