patched/py2exe.git
2 years agoMerge branch 'svn/trunk' master
Alexey Borzenkov [Thu, 6 Aug 2009 07:48:06 +0000]
Merge branch 'svn/trunk'

3 years agoFix crash when a Python 2.5 built app was installed over a Python 2.4 built app. svn/trunk
mhammond [Fri, 10 Apr 2009 01:55:05 +0000]
Fix crash when a Python 2.5 built app was installed over a Python 2.4 built app.
The app would crash as Python 2.5 loaded Python 2.4's zlib.pyd; zlib is
builtin in Python 2.5 and later, so no 2.5 version of zlib.pyd exists.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@686 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoIf we can't find any python's use the one we are running now
mhammond [Fri, 10 Apr 2009 01:48:01 +0000]
If we can't find any python's use the one we are running now

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@685 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoEnsure MessageBox is displayed when using WinXP Loon'n'Feel
Alexey Borzenkov [Mon, 16 Mar 2009 16:30:04 +0000]
Ensure MessageBox is displayed when using WinXP Loon'n'Feel

3 years agoImprove error messages
Alexey Borzenkov [Mon, 16 Mar 2009 16:09:23 +0000]
Improve error messages

3 years agoAdd .gitignore
Alexey Borzenkov [Thu, 25 Dec 2008 14:45:07 +0000]
Add .gitignore

3 years agoIgnore msvcp*.dll files
Alexey Borzenkov [Thu, 25 Dec 2008 14:44:57 +0000]
Ignore msvcp*.dll files

On Python 2.6 msvcp90.dll can never be found too (which causes big
problems with wxPython), lite versions shouldn't need msvcp71.dll
either.

3 years agoMerge commit 'svn'
Alexey Borzenkov [Mon, 15 Dec 2008 10:37:52 +0000]
Merge commit 'svn'

3 years agoFix via the mailing list to fix strange icons being displayed on Vista.
mhammond [Sun, 14 Dec 2008 23:44:53 +0000]
Fix via the mailing list to fix strange icons being displayed on Vista.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@684 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoImplement 'lite' mode for py2exe
Alexey Borzenkov [Sat, 13 Dec 2008 18:59:43 +0000]
Implement 'lite' mode for py2exe

For my job I often write lots of small scripts that are intended to
be used by my coworkers. Because it's hopeless to expect other people
to replicate my environment (modules, etc.) precisely, py2exe was a
huge life saver, however size of resulting executables was always a
problem, since several megabytes are easily added just for python
runtime itself.

Thus I'm proposing 'lite' mode for py2exe. This mode produces small
executables that don't contain a copy of python runtime and standard
library, but instead rely on an installed Python on your system. It's
very easy to tell others to just install Python x.y for some utility
to work, and any third party modules (installed in site-packages) are
still packaged within an executable.

3 years agoFix compile error with gcc
Alexey Borzenkov [Sat, 13 Dec 2008 18:06:26 +0000]
Fix compile error with gcc

3 years agoCall DllEntryProc with a some real HINSTANCE (fixes wxPython dialogs)
Alexey Borzenkov [Sat, 13 Dec 2008 17:54:57 +0000]
Call DllEntryProc with a some real HINSTANCE (fixes wxPython dialogs)

wxPython is at least one extension that seems to make use of
SetWindowsHook[Ex] function, which does not work with a fake hInstance
received in its DllMain. This causes message handling of hotkeys in
wxDialogs to fail and is very annoying.

To fix this I found that it is good to pass some real hInstance to
module's DllEntryProc, where real hInstance can either be that of an
executable (for py2exe executables) or dll/pyd file (e.g.
_memimporter.pyd). This solution is not ideal (e.g. if a module tries
to load some resources it might pick up something completely unexpected
instead of failing), but in my day to day practices it proved to work
really well.

3 years agoAdd __file__ attribute for __main__ pointing to the executable
Alexey Borzenkov [Sat, 13 Dec 2008 17:41:42 +0000]
Add __file__ attribute for __main__ pointing to the executable

Many of my scripts, when they are .py files use __file__ to locate
a directory where script file is placed (to load configuration or
other data). With this change __file__ will be pointing to the
executable thus allowing my scripts to function.

3 years agoDon't redefine Py_ssize_t
Alexey Borzenkov [Sat, 13 Dec 2008 17:35:48 +0000]
Don't redefine Py_ssize_t

3 years agoAccept --zipfile option on the command line
Alexey Borzenkov [Sat, 13 Dec 2008 17:32:04 +0000]
Accept --zipfile option on the command line

3 years agoRemoved SourceForge from the web site upload batch file as it is no longer used.
jretz [Sun, 16 Nov 2008 07:23:46 +0000]
Removed SourceForge from the web site upload batch file as it is no longer used.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@683 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoUpdated version number to 0.6.10dev to disambiguate from the released 0.6.9.
jretz [Sun, 16 Nov 2008 07:23:11 +0000]
Updated version number to 0.6.10dev to disambiguate from the released 0.6.9.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@682 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoFix references to 64-bit installer filenames.
jretz [Sun, 16 Nov 2008 06:44:11 +0000]
Fix references to 64-bit installer filenames.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@680 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoInclude mention of Python 2.7 in ANNOUNCE and py2exe.txt.
jretz [Sun, 16 Nov 2008 06:07:44 +0000]
Include mention of Python 2.7 in ANNOUNCE and py2exe.txt.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@679 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoCorrect the wiki link.
theller [Mon, 10 Nov 2008 18:32:49 +0000]
Correct the wiki link.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@678 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoUpdated version numbers, news, and copyright dates in preparation for the 0.6.9 release.
jretz [Mon, 10 Nov 2008 07:32:43 +0000]
Updated version numbers, news, and copyright dates in preparation for the 0.6.9 release.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@677 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoUse the right version of the interpreter for testing py2exe (why was it even working...
jretz [Mon, 10 Nov 2008 07:27:18 +0000]
Use the right version of the interpreter for testing py2exe (why was it even working before?).

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@676 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoFix modulefinder crash on certain relative imports.
theller [Fri, 7 Nov 2008 06:49:39 +0000]
Fix modulefinder crash on certain relative imports.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@675 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoChanged sample to use the wx package instead of the old wxPython package.
theller [Sat, 1 Nov 2008 12:37:24 +0000]
Changed sample to use the wx package instead of the old wxPython package.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@674 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoFix typo.
theller [Sat, 1 Nov 2008 12:29:42 +0000]
Fix typo.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@673 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoWhitespace
theller [Sat, 6 Sep 2008 18:05:55 +0000]
Whitespace

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@672 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoEnsure we don't clobber the manifest or version resources in pythonxx.dll
mhammond [Sat, 30 Aug 2008 07:51:40 +0000]
Ensure we don't clobber the manifest or version resources in pythonxx.dll

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@671 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years ago[ 2038411 ] copy manifest to target executables and allow
mhammond [Thu, 28 Aug 2008 03:56:11 +0000]
[ 2038411 ] copy manifest to target executables and allow
user-specified UAC settings for the target.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@670 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoVista SDK headers don't include a value for IMAGE_SIZEOF_BASE_RELOCATION
mhammond [Tue, 5 Aug 2008 05:15:40 +0000]
Vista SDK headers don't include a value for IMAGE_SIZEOF_BASE_RELOCATION

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@669 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoUpdate to point to svn rather than cvs. Also fixed some version info changes that...
jretz [Mon, 16 Jun 2008 21:29:12 +0000]
Update to point to svn rather than cvs. Also fixed some version info changes that were missed.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@668 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoUpdated announce file for 0.6.6 and 0.6.8 releases.
jretz [Sun, 15 Jun 2008 16:55:50 +0000]
Updated announce file for 0.6.6 and 0.6.8 releases.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@666 b94a6edd-cd4f-0410-beef-d2780d74e76e

3 years agoUpdate news page for new release.
jretz [Sun, 15 Jun 2008 16:17:09 +0000]
Update news page for new release.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@665 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoInclude the entire test suite in the source distribution.
jretz [Mon, 19 May 2008 08:57:02 +0000]
Include the entire test suite in the source distribution.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@664 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoUse Python 2.5 to build the source distribution.
jretz [Mon, 19 May 2008 08:56:02 +0000]
Use Python 2.5 to build the source distribution.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@663 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoMerged modulefinder.py r59200 from the Python svn trunk into mf.py in order to suppor...
jretz [Mon, 19 May 2008 08:49:12 +0000]
Merged modulefinder.py r59200 from the Python svn trunk into mf.py in order to support relative imports.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@662 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoFixed date in changelog.
jretz [Mon, 19 May 2008 07:24:50 +0000]
Fixed date in changelog.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@661 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoBumped version number to 0.6.8.
jretz [Mon, 19 May 2008 07:22:47 +0000]
Bumped version number to 0.6.8.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@660 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoRun the tests using test.py rather than test.cmd. This enables smarter logic to deter...
jretz [Mon, 19 May 2008 07:20:42 +0000]
Run the tests using test.py rather than test.cmd. This enables smarter logic to determine the interpreters present (e.g., if the interpreter can't be run because it is for CE, then don't use it to run tests). Also report statistics about the number of tests that succeeded/skipped/failed.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@659 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoWithout supplying a setup_pysvn.py we can't be sure we get the same version number...
jretz [Mon, 19 May 2008 07:13:41 +0000]
Without supplying a setup_pysvn.py we can't be sure we get the same version number output when running this test under Python and under py2exe (because different svn dlls are found). So just print the major version number (which still tests that we can retrieve the version number).

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@658 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoIgnore possible 'build' and 'dist' directories when looking for samples.
theller [Thu, 17 Apr 2008 18:23:29 +0000]
Ignore possible 'build' and 'dist' directories when looking for samples.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@657 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoLook for Python installations only in the directories C:\Python??, not
theller [Thu, 17 Apr 2008 18:22:05 +0000]
Look for Python installations only in the directories C:\Python??, not
C:\Python*.  (I had a directory c:\Python-2.4.3-wince-dev)

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@656 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoRename the tests so that they are valid Python modules - no dot in the
theller [Thu, 17 Apr 2008 18:20:07 +0000]
Rename the tests so that they are valid Python modules - no dot in the
filename except for the extension.  Change the tests: Move the imports
to the top, and move the actual test code inside a "if __name__ == '__main__':"
block.

Change the test runner in test/test.py so that it skips test scripts
that cannot be imported as modules.  Print out info about failed
assertions.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@655 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoFix MemoryLoadLibrary to handle loading function addresses by ordinal
theller [Thu, 17 Apr 2008 18:14:16 +0000]
Fix MemoryLoadLibrary to handle loading function addresses by ordinal
numbers.  Patch and test by Matthias Miller - thanks!

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@654 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoFound the author of the patch: Alexey Borzenkov
theller [Sat, 5 Apr 2008 12:12:26 +0000]
Found the author of the patch: Alexey Borzenkov

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@653 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoUsing the options compressed=1, bundle_files=3, and zipfile=None at the same time...
jretz [Sat, 5 Apr 2008 11:48:10 +0000]
Using the options compressed=1, bundle_files=3, and zipfile=None at the same time now works; patch from Alexey Borzenkov (sf request id 1707920)

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@652 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoUsing the options compressed=1, bundle_files=3, and zipfile=None at the same time...
jretz [Sat, 5 Apr 2008 11:26:42 +0000]
Using the options compressed=1, bundle_files=3, and zipfile=None at the same time now works; patch from Alexey Borzenkov (sf request id 1707920)

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@651 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoPort this py2exe.boot_ctypes_com_server from ctypes.com to comtypes.
theller [Fri, 4 Apr 2008 19:58:04 +0000]
Port this py2exe.boot_ctypes_com_server from ctypes.com to comtypes.
Work in progress.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@650 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoAllow renaming of single-execuatble files; patch from
theller [Tue, 1 Apr 2008 10:27:12 +0000]
Allow renaming of single-execuatble files; patch from
http://snaury.googlepages.com/py2exe-0.6.6-libname-fix.patch.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@649 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoAdd support for AMD64 to automated build and testing scripts.
jretz [Mon, 24 Mar 2008 19:03:17 +0000]
Add support for AMD64 to automated build and testing scripts.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@648 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoBump version to 0.6.7.
theller [Fri, 29 Feb 2008 08:54:45 +0000]
Bump version to 0.6.7.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@647 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoEmbedding icon resources into the image does now work correctly even
theller [Fri, 29 Feb 2008 08:43:49 +0000]
Embedding icon resources into the image does now work correctly even
for ico files containing multiple images.  Each RT_ICON resource must
have a unique id which must also be in the RT_GROUP_ICON resource.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@646 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoPatch from Grant Edwards, slightly adjusted: py2exe now renames the
theller [Fri, 7 Sep 2007 18:17:06 +0000]
Patch from Grant Edwards, slightly adjusted: py2exe now renames the
pyd files that it copies into the dist directory so that they include
the package name.  This prevents name conflicts.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@645 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoFix typo.
theller [Thu, 6 Sep 2007 07:48:28 +0000]
Fix typo.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@644 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoAdd .cvsignore file.
theller [Thu, 6 Sep 2007 07:47:58 +0000]
Add .cvsignore file.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@643 b94a6edd-cd4f-0410-beef-d2780d74e76e

4 years agoUnicode fixes I had sitting in my sandbox for a long time.
theller [Thu, 6 Sep 2007 07:46:29 +0000]
Unicode fixes I had sitting in my sandbox for a long time.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@642 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoSamples for the 'typelibs' support, including the new option of
mhammond [Mon, 26 Mar 2007 05:45:17 +0000]
Samples for the 'typelibs' support, including the new option of
pre-generating a typelib and specifying the file as an input to py2exe

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@641 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoAllow the specified typelibs to include an input file, in which case
mhammond [Mon, 26 Mar 2007 05:44:21 +0000]
Allow the specified typelibs to include an input file, in which case
we skip the generation and just copy the file into the gen_py directory.
Useful so people can check the generated files into source-control and can
avoid installing the COM objects on the build machine.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@640 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years ago* Correct error in previous checkin - check_init() would return False
mhammond [Thu, 18 Jan 2007 01:33:20 +0000]
* Correct error in previous checkin - check_init() would return False
  if previously initialized.
* If we fail after acquiring the GIL, be sure to release it.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@639 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years ago* Use event log writing built into pywin32 if it exists.
mhammond [Wed, 17 Jan 2007 04:35:22 +0000]
* Use event log writing built into pywin32 if it exists.
* Ensure failure to initialize releases the lock
* Fix error return values for HttpFilterProc and HttpExtensionProc

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@638 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoIn some cases, notably ISAPI, GetModuleFileName() may return a string with
mhammond [Wed, 17 Jan 2007 04:34:20 +0000]
In some cases, notably ISAPI, GetModuleFileName() may return a string with
a leading "\\?\" - handle that by skipping the prefix if it exists

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@637 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoNow points to py2exe.org.
jretz [Sun, 31 Dec 2006 12:50:00 +0000]
Now points to py2exe.org.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@635 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoInclude samples (and all their files) with binary distributions.
jretz [Fri, 29 Dec 2006 11:56:12 +0000]
Include samples (and all their files) with binary distributions.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@634 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoInclude samples (and all their files) with source distributions.
jretz [Fri, 29 Dec 2006 11:55:50 +0000]
Include samples (and all their files) with source distributions.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@633 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoAutomate the running of tests on Python 2.3, 2.4, and 2.5.
jretz [Fri, 29 Dec 2006 10:31:00 +0000]
Automate the running of tests on Python 2.3, 2.4, and 2.5.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@632 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoDocumentation updates for 0.6.6 release.
jretz [Fri, 29 Dec 2006 09:40:25 +0000]
Documentation updates for 0.6.6 release.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@631 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoChanged version number to 0.6.6.
jretz [Wed, 27 Dec 2006 18:23:49 +0000]
Changed version number to 0.6.6.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@630 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoHandle new parameter to fake_getline in Python 2.5 as suggested by Tim Tucker.
jretz [Wed, 27 Dec 2006 18:22:51 +0000]
Handle new parameter to fake_getline in Python 2.5 as suggested by Tim Tucker.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@629 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoRecord changes.
theller [Wed, 22 Nov 2006 08:47:34 +0000]
Record changes.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@628 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agobundle-files < 3 is not yet supported on win64 (since _memimporter
theller [Wed, 22 Nov 2006 08:43:36 +0000]
bundle-files < 3 is not yet supported on win64 (since _memimporter
needs to be ported).

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@627 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoUpdated the mktab.py script (which generates import-tab.c and
theller [Wed, 22 Nov 2006 08:34:16 +0000]
Updated the mktab.py script (which generates import-tab.c and
import-tab.h) for Py_ssize_t and the definition of PyInit_Module4 on
win64.

Regenerated import-tab.c and import-tab.h.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@626 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoCorrect the typedef for Py_ssize_t on both win32 and win64.
theller [Wed, 22 Nov 2006 08:04:19 +0000]
Correct the typedef for Py_ssize_t on both win32 and win64.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@625 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoFix compiler warning.
theller [Wed, 22 Nov 2006 07:40:13 +0000]
Fix compiler warning.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@624 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoFix win64 compiler warnings by using size_t instead of int.
theller [Wed, 22 Nov 2006 07:38:44 +0000]
Fix win64 compiler warnings by using size_t instead of int.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@623 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoDon't try to copy w9xpopen.exe if it does not exist.
theller [Wed, 22 Nov 2006 07:35:35 +0000]
Don't try to copy w9xpopen.exe if it does not exist.

Add gdiplus.dll to the list of excluded files.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@622 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoAdded a test case for the sys.path regression.
jretz [Sat, 11 Nov 2006 13:34:18 +0000]
Added a test case for the sys.path regression.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@621 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoAdded comment to help with finding the module needed for this test (pyxml).
jretz [Sat, 11 Nov 2006 13:32:12 +0000]
Added comment to help with finding the module needed for this test (pyxml).

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@620 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoAdded --compression to the test cases to catch the zlib problem with Python 2.5.
jretz [Sat, 11 Nov 2006 13:30:52 +0000]
Added --compression to the test cases to catch the zlib problem with Python 2.5.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@619 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoIncorporated Don Quijote's patch for zlib handling in Python 2.5.
jretz [Sat, 11 Nov 2006 13:27:22 +0000]
Incorporated Don Quijote's patch for zlib handling in Python 2.5.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@618 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years ago* Load Python before the ISAPI extension module, as that module itself
mhammond [Tue, 24 Oct 2006 06:23:49 +0000]
* Load Python before the ISAPI extension module, as that module itself
  depends on Python.
* Write an event log error when the ISAPI module failed to load.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@617 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years ago* Add calc_dirname() which calculates the dirname global, and call this
mhammond [Tue, 24 Oct 2006 06:22:48 +0000]
* Add calc_dirname() which calculates the dirname global, and call this
  from _InitPython, so _InitPython can be called externally before
  init_with_instance
* My most recent checkin did not update sys.frozen to the new value if
  Python was already initialized.  Although that is all nasty hackery,
  it now works as before (ie, sys.frozen is set to the new value)

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@616 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoWhitespace changes - both in source and in MessageBox message
mhammond [Wed, 18 Oct 2006 12:25:55 +0000]
Whitespace changes - both in source and in MessageBox message

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@615 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoIf Python is already initialized, assume we have struck 2 pyexe DLLs in
mhammond [Wed, 18 Oct 2006 12:24:42 +0000]
If Python is already initialized, assume we have struck 2 pyexe DLLs in
the same process, and adjust sys.path accordingly.  Its kinda lame, but
will work if everyone magically happens to use the same version.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@614 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoEventLog writing requires linking against advapi32
mhammond [Wed, 18 Oct 2006 12:23:13 +0000]
EventLog writing requires linking against advapi32

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@613 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoReplace MessageBox (which will hang an ISAPI app) with an event-log entry.
mhammond [Wed, 18 Oct 2006 12:22:21 +0000]
Replace MessageBox (which will hang an ISAPI app) with an event-log entry.
Entry is pretty lame; there are no message resources in py2exe apps.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@612 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoAdd PyList_Append
mhammond [Wed, 18 Oct 2006 12:20:42 +0000]
Add PyList_Append

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@611 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoPy2.5 doesn't recognize .dll as a module; pywintypes/pythoncom now get
mhammond [Wed, 18 Oct 2006 12:18:06 +0000]
Py2.5 doesn't recognize .dll as a module; pywintypes/pythoncom now get
specital treatment

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@610 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoFinally commit some samples I've had hanging around forever.
mhammond [Sun, 2 Jul 2006 11:15:18 +0000]
Finally commit some samples I've had hanging around forever.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@609 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoFix bug 1514766 (app dir erroneously at the start of sys.path)
mhammond [Sun, 2 Jul 2006 10:51:47 +0000]
Fix bug 1514766 (app dir erroneously at the start of sys.path)

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@608 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoBefore doing a LoadLibrary for the Python DLL, ensure it isn't already
mhammond [Thu, 29 Jun 2006 05:50:24 +0000]
Before doing a LoadLibrary for the Python DLL, ensure it isn't already
in memory.  This gets the ISAPI stuff working again.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@607 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoAdd notes re service cmdline handling.
mhammond [Thu, 29 Jun 2006 00:28:53 +0000]
Add notes re service cmdline handling.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@606 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoSupport more 'command-line styles' for services (allowing 'pywin32' meaning
mhammond [Tue, 20 Jun 2006 22:47:09 +0000]
Support more 'command-line styles' for services (allowing 'pywin32' meaning
the same as pywin32 itself, and 'custom' meaning the cmdline handler must
be provided) and allow the user to select it via the 'cmdline_style'
option.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@605 b94a6edd-cd4f-0410-beef-d2780d74e76e

5 years agoFirst attempt at Python 2.5 support.
jretz [Tue, 20 Jun 2006 07:35:06 +0000]
First attempt at Python 2.5 support.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@604 b94a6edd-cd4f-0410-beef-d2780d74e76e

6 years agoAdd import of the set module for Python 2.3.
jretz [Mon, 20 Mar 2006 12:04:11 +0000]
Add import of the set module for Python 2.3.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@602 b94a6edd-cd4f-0410-beef-d2780d74e76e

6 years agoDon't preserve read-only (or other attributes) when copying files as this can lead...
jretz [Mon, 20 Mar 2006 11:49:30 +0000]
Don't preserve read-only (or other attributes) when copying files as this can lead to problems if they need to be copied again.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@601 b94a6edd-cd4f-0410-beef-d2780d74e76e

6 years ago0.6.5 release.
jretz [Mon, 20 Mar 2006 11:23:15 +0000]
0.6.5 release.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@600 b94a6edd-cd4f-0410-beef-d2780d74e76e

6 years agoAdd test cases that would have caught the mf / modulefinder problems in 0.6.4.
jretz [Mon, 20 Mar 2006 11:10:34 +0000]
Add test cases that would have caught the mf / modulefinder problems in 0.6.4.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@599 b94a6edd-cd4f-0410-beef-d2780d74e76e

6 years agoFix problems created when including a complete version of modulefinder.
jretz [Tue, 7 Mar 2006 08:12:07 +0000]
Fix problems created when including a complete version of modulefinder.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@598 b94a6edd-cd4f-0410-beef-d2780d74e76e

6 years agoStart of automated testing.
jretz [Mon, 13 Feb 2006 13:54:07 +0000]
Start of automated testing.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@596 b94a6edd-cd4f-0410-beef-d2780d74e76e

6 years ago0.6.4 release.
jretz [Mon, 13 Feb 2006 13:51:03 +0000]
0.6.4 release.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@595 b94a6edd-cd4f-0410-beef-d2780d74e76e

6 years agoChange bundle-files=4 to skip-archive. Add custom-boot-script option.
jretz [Mon, 13 Feb 2006 13:50:00 +0000]
Change bundle-files=4 to skip-archive. Add custom-boot-script option.

git-svn-id: https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe@594 b94a6edd-cd4f-0410-beef-d2780d74e76e