change some occurence of python15.dll to python20.dll
closes patch #100956
This commit is contained in:
parent
5c669860e6
commit
332c59c4ef
|
@ -143,7 +143,7 @@ Under Windows 95 or NT, you *must* use the -p option and point it to
|
|||
the top of the Python source tree.
|
||||
|
||||
WARNING: the resulting executable is not self-contained; it requires
|
||||
the Python DLL, currently PYTHON15.DLL (it does not require the
|
||||
the Python DLL, currently PYTHON20.DLL (it does not require the
|
||||
standard library of .py files though). It may also require one or
|
||||
more extension modules loaded from .DLL or .PYD files; the module
|
||||
names are printed in the warning message about remaining unknown
|
||||
|
@ -157,11 +157,11 @@ used, since the standard DLL is used.
|
|||
|
||||
In order for this to work, you must have built Python using the VC++
|
||||
(Developer Studio) 5.0 compiler. The provided project builds
|
||||
python15.lib in the subdirectory pcbuild\Release of thje Python source
|
||||
python20.lib in the subdirectory pcbuild\Release of thje Python source
|
||||
tree, and this is where the generated Makefile expects it to be. If
|
||||
this is not the case, you can edit the Makefile or (probably better)
|
||||
winmakemakefile.py (e.g., if you are using the 4.2 compiler, the
|
||||
python15.lib file is generated in the subdirectory vc40 of the Python
|
||||
python20.lib file is generated in the subdirectory vc40 of the Python
|
||||
source tree).
|
||||
|
||||
You can freeze programs that use Tkinter, but Tcl/Tk must be installed
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
<H3>Program Dependencies</H3>
|
||||
<P>The person freezing the program has control over what external DLLs are required by a frozen program. The following dependencies are supported:</P>
|
||||
<H4>Minimal frozen programs</H4>
|
||||
<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>
|
||||
<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>
|
||||
<P>A small Python program would typically create a .EXE around 300kb.</P>
|
||||
<H4>Frozen Extension programs</H4>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<P>A small Python program using win32api, win32con and one or 2 other win32 extensions would typically create a .EXE around 400kb.</P>
|
||||
<H4>Completely frozen programs</H4>
|
||||
<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 @@
|
|||
<H3>PipeTestService.py</H3>
|
||||
<P>This is a standard Python demo in the Win32 extensions. It can be found in the "win32\demos\service" directory.</P>
|
||||
<H4>Command Line used</H4>
|
||||
<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>
|
||||
<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>
|
||||
<DIR>
|
||||
|
||||
<CODE><P>\src\python-1.5.1\tools\freeze\freeze.py -s service %PYTHONEX%\win32\demos\service\pipeTestService.py</P></DIR>
|
||||
|
|
Loading…
Reference in New Issue