Skip to content

Commit

Permalink
set the zip_safe flag to False
Browse files Browse the repository at this point in the history
This means that by default the allmydata-tahoe egg will be a directory with a tree of files instead of a zip file containing files.  I prefer the former because it makes it easier for people to hack into it.
Unfortunately the files therein are still going to be .pyc's instead of .py's, if I understand correctly.  I would prefer for them to be .py's.  See also discussion on the distutils-sig mailing list:

http://mail.python.org/pipermail/distutils-sig/2007-July/007827.html
  • Loading branch information
zooko committed Sep 13, 2007
1 parent 73826c5 commit 9c27230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -133,4 +133,5 @@
# Extension("allmydata.Crypto.PublicKey._fastmath",
# sources=["src/allmydata/Crypto/_fastmath.c"]),
],
zip_safe=False, # We prefer unzipped for easier access.
)

0 comments on commit 9c27230

Please sign in to comment.