Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 332c59c

Browse files
author
Peter Schneider-Kamp
committed
change some occurence of python15.dll to python20.dll
closes patch #100956
1 parent 5c66986 commit 332c59c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Tools/freeze/README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Under Windows 95 or NT, you *must* use the -p option and point it to
143143
the top of the Python source tree.
144144

145145
WARNING: the resulting executable is not self-contained; it requires
146-
the Python DLL, currently PYTHON15.DLL (it does not require the
146+
the Python DLL, currently PYTHON20.DLL (it does not require the
147147
standard library of .py files though). It may also require one or
148148
more extension modules loaded from .DLL or .PYD files; the module
149149
names are printed in the warning message about remaining unknown
@@ -157,11 +157,11 @@ used, since the standard DLL is used.
157157

158158
In order for this to work, you must have built Python using the VC++
159159
(Developer Studio) 5.0 compiler. The provided project builds
160-
python15.lib in the subdirectory pcbuild\Release of thje Python source
160+
python20.lib in the subdirectory pcbuild\Release of thje Python source
161161
tree, and this is where the generated Makefile expects it to be. If
162162
this is not the case, you can edit the Makefile or (probably better)
163163
winmakemakefile.py (e.g., if you are using the 4.2 compiler, the
164-
python15.lib file is generated in the subdirectory vc40 of the Python
164+
python20.lib file is generated in the subdirectory vc40 of the Python
165165
source tree).
166166

167167
You can freeze programs that use Tkinter, but Tcl/Tk must be installed

Tools/freeze/win32.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ <H2>Frozen programs under Win32</H2>
1717
<H3>Program Dependencies</H3>
1818
<P>The person freezing the program has control over what external DLLs are required by a frozen program. The following dependencies are supported:</P>
1919
<H4>Minimal frozen programs</H4>
20-
<P>These programs freeze only .py files in your program. All external DLLs are required at run-time. This includes all .pyd/.dll modules used by your program, Python15.dll, and msvcrt.dll. </P>
20+
<P>These programs freeze only .py files in your program. All external DLLs are required at run-time. This includes all .pyd/.dll modules used by your program, Python20.dll, and msvcrt.dll. </P>
2121
<P>A small Python program would typically create a .EXE around 300kb.</P>
2222
<H4>Frozen Extension programs</H4>
2323
<B><I><P>Note:</B></I> For Python1.5.1, you must get a patch from Guido to import.c for this to work.</P>
24-
<P>These programs also freeze in the sources from all .pyd and .dll files used at runtime. This means the resulting .EXE is only dependent on Python15.dll and msvcrt.dll.</P>
24+
<P>These programs also freeze in the sources from all .pyd and .dll files used at runtime. This means the resulting .EXE is only dependent on Python20.dll and msvcrt.dll.</P>
2525
<P>A small Python program using win32api, win32con and one or 2 other win32 extensions would typically create a .EXE around 400kb.</P>
2626
<H4>Completely frozen programs</H4>
2727
<P>Completely stand-alone programs, as is the default on Unix systems. These are currently not supported, mainly as the size of a decent Python program gets very large. However, by tweaking the existing Unix support, this would not be difficult to do.</P>
@@ -109,7 +109,7 @@ <H4>Command Line used</H4>
109109
<H3>PipeTestService.py</H3>
110110
<P>This is a standard Python demo in the Win32 extensions. It can be found in the "win32\demos\service" directory.</P>
111111
<H4>Command Line used</H4>
112-
<P>This will create a native NT Service EXE, dependent only on the main Python15.dll. All other modules are built-in to the final .EXE</P><DIR>
112+
<P>This will create a native NT Service EXE, dependent only on the main Python20.dll. All other modules are built-in to the final .EXE</P><DIR>
113113
<DIR>
114114

115115
<CODE><P>\src\python-1.5.1\tools\freeze\freeze.py -s service %PYTHONEX%\win32\demos\service\pipeTestService.py</P></DIR>

0 commit comments

Comments
 (0)