From: Andre Delfino Date: Mon, 26 Apr 2021 01:10:05 +0000 (-0300) Subject: Fix broken links and improve stand-alone tools list in FAQ GH-22124 X-Git-Tag: v3.10.0b1~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d28b34695301ec99a9334ad8d69b6092f4f703d5;p=thirdparty%2FPython%2Fcpython.git Fix broken links and improve stand-alone tools list in FAQ GH-22124 --- diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index ff78ca7320d7..d00be2462efc 100644 --- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst @@ -90,11 +90,12 @@ then compiles the generated C code and links it with the rest of the Python interpreter to form a self-contained binary which acts exactly like your script. Obviously, freeze requires a C compiler. There are several other utilities -which don't. One is Thomas Heller's py2exe (Windows only) at +which don't: - http://www.py2exe.org/ - -Another tool is Anthony Tuininga's `cx_Freeze `_. +* `py2exe `_ for Windows binaries +* `py2app `_ for Mac OS X binaries +* `cx_Freeze `_ for cross-platform + binaries Are there coding standards or a style guide for Python programs? diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index c8e9c5fb6703..186dac2e255b 100644 --- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -140,11 +140,9 @@ offender. How do I make an executable from a Python script? ------------------------------------------------- -See `cx_Freeze `_ for a distutils extension -that allows you to create console and GUI executables from Python code. -`py2exe `_, the most popular extension for building -Python 2.x-based executables, does not yet support Python 3 but a version that -does is in development. +See `cx_Freeze `_ and +`py2exe `_, both are distutils extensions +that allow you to create console and GUI executables from Python code. Is a ``*.pyd`` file the same as a DLL? diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst index 3d638642f300..68ee09c565e2 100644 --- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -1106,7 +1106,7 @@ shipped with PyWin32. It is an embeddable IDE with a built-in debugger. cx_Freeze --------- -`cx_Freeze `_ is a :mod:`distutils` +`cx_Freeze `_ is a :mod:`distutils` extension (see :ref:`extending-distutils`) which wraps Python scripts into executable Windows programs (:file:`{*}.exe` files). When you have done this, you can distribute your application without requiring your users to install