From: <th...@us...> - 2014-05-09 17:25:10
|
Revision: 742 http://sourceforge.net/p/py2exe/svn/742 Author: theller Date: 2014-05-09 17:25:07 +0000 (Fri, 09 May 2014) Log Message: ----------- Allow and document 'bundle-files == 0' in the setup-script version. Modified Paths: -------------- trunk/py2exe-3/py2exe/distutils_buildexe.py trunk/py2exe-3/py2exe/setup_template.py Modified: trunk/py2exe-3/py2exe/distutils_buildexe.py =================================================================== --- trunk/py2exe-3/py2exe/distutils_buildexe.py 2014-05-08 19:55:04 UTC (rev 741) +++ trunk/py2exe-3/py2exe/distutils_buildexe.py 2014-05-09 17:25:07 UTC (rev 742) @@ -157,8 +157,8 @@ self.includes = fancy_split(self.includes) self.ignores = fancy_split(self.ignores) self.bundle_files = int(self.bundle_files) - if self.bundle_files < 1 or self.bundle_files > 3: - raise ValueError("bundle-files must be 1, 2, or 3, not %s" + if self.bundle_files < 0 or self.bundle_files > 3: + raise ValueError("bundle-files must be 0, 1, 2, or 3, not %s" % self.bundle_files) if self.ascii: warnings.warn("The 'ascii' option is no longer supported, ignored.") Modified: trunk/py2exe-3/py2exe/setup_template.py =================================================================== --- trunk/py2exe-3/py2exe/setup_template.py 2014-05-08 19:55:04 UTC (rev 741) +++ trunk/py2exe-3/py2exe/setup_template.py 2014-05-09 17:25:07 UTC (rev 742) @@ -138,6 +138,12 @@ # and loaded in the normal way. # # bundle_files == 1: +# Extension modules and the Python dll are put into the zipfile or +# the exe/dll files, and everything is loaded without unpacking to +# the file system. This does not work for some dlls, so use with +# caution. +# +# bundle_files == 0: # Extension modules, the Python dll, and other needed dlls are put # into the zipfile or the exe/dll files, and everything is loaded # without unpacking to the file system. This does not work for This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |