From 6ef287554c53772db84f2d12cdf5191fa8562b8f Mon Sep 17 00:00:00 2001 From: denfromufa Date: Sat, 15 Apr 2017 21:49:05 -0500 Subject: [PATCH 1/6] pyinstaller added to docs, py2exe ref updated --- Doc/faq/windows.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index 6ac83e45d2e815..989c100c4f0ae2 100644 --- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -170,11 +170,12 @@ offender. How do I make an executable from a Python script? ------------------------------------------------- -See http://cx-freeze.sourceforge.net/ 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 http://cx-freeze.sourceforge.net/ and http://www.pyinstaller.org/ for the +distutils extensions that allows you to create console and GUI executables +from Python code. +`py2exe `_, popular extension for building +Python 2.x-based executables, partially supports Python 3, see +https://pypi.python.org/pypi/py2exe/. Is a ``*.pyd`` file the same as a DLL? From 85f8bcb5ca43656d0e76706304ad0c7c487d8cc7 Mon Sep 17 00:00:00 2001 From: denfromufa Date: Sat, 15 Apr 2017 22:19:56 -0500 Subject: [PATCH 2/6] Update windows.rst --- Doc/faq/windows.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index 989c100c4f0ae2..4681c61d733d2e 100644 --- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -170,8 +170,9 @@ offender. How do I make an executable from a Python script? ------------------------------------------------- -See http://cx-freeze.sourceforge.net/ and http://www.pyinstaller.org/ for the -distutils extensions that allows you to create console and GUI executables +See http://cx-freeze.sourceforge.net/ for the distutils extension and +http://www.pyinstaller.org/ for another package, +that both allow you to create console and GUI executables from Python code. `py2exe `_, popular extension for building Python 2.x-based executables, partially supports Python 3, see From 9b8c5d6ec82e199d35bfcd9710fbc18f94e7501d Mon Sep 17 00:00:00 2001 From: denfromufa Date: Sun, 25 Jun 2017 23:31:22 -0500 Subject: [PATCH 3/6] Update windows.rst --- Doc/faq/windows.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index 4681c61d733d2e..ffdde22d790cea 100644 --- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -171,11 +171,11 @@ How do I make an executable from a Python script? ------------------------------------------------- See http://cx-freeze.sourceforge.net/ for the distutils extension and -http://www.pyinstaller.org/ for another package, -that both allow you to create console and GUI executables +http://www.pyinstaller.org/ for another package, +that both allow you to create console and GUI executables from Python code. `py2exe `_, popular extension for building -Python 2.x-based executables, partially supports Python 3, see +Python 2.x-based executables, partially supports Python 3, see https://pypi.python.org/pypi/py2exe/. From f25688453de8ea7aaafa15d76328e2c801bd47f1 Mon Sep 17 00:00:00 2001 From: denfromufa Date: Tue, 18 Jul 2017 22:31:32 -0500 Subject: [PATCH 4/6] Update windows.rst --- Doc/faq/windows.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index ffdde22d790cea..96e27a74837c47 100644 --- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -170,13 +170,12 @@ offender. How do I make an executable from a Python script? ------------------------------------------------- -See http://cx-freeze.sourceforge.net/ for the distutils extension and -http://www.pyinstaller.org/ for another package, -that both allow you to create console and GUI executables -from Python code. -`py2exe `_, popular extension for building -Python 2.x-based executables, partially supports Python 3, see -https://pypi.python.org/pypi/py2exe/. +The following 2 packages cx_Freeze and PyInstaller allow +the creation of cross-platform stand-alone console and GUI executables: +* http://cx-freeze.sourceforge.net/ +* http://www.pyinstaller.org/ + +Additionally, http://www.py2exe.org/ exclusively supports Windows executables. Is a ``*.pyd`` file the same as a DLL? From 2ba4c1eba277e1ff28ff60ed309ac4545437341e Mon Sep 17 00:00:00 2001 From: denfromufa Date: Tue, 18 Jul 2017 22:48:06 -0500 Subject: [PATCH 5/6] Update windows.rst --- Doc/faq/windows.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index 96e27a74837c47..ad1e769d802778 100644 --- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -170,7 +170,7 @@ offender. How do I make an executable from a Python script? ------------------------------------------------- -The following 2 packages cx_Freeze and PyInstaller allow +The following 2 packages cx_Freeze and PyInstaller allow the creation of cross-platform stand-alone console and GUI executables: * http://cx-freeze.sourceforge.net/ * http://www.pyinstaller.org/ From 4f7a196b2ebd0a016d89ad418f59dbf376949bc6 Mon Sep 17 00:00:00 2001 From: denfromufa Date: Tue, 18 Jul 2017 22:59:14 -0500 Subject: [PATCH 6/6] Update programming.rst --- Doc/faq/programming.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index d9bdb21e79ac66..0f1557182746fb 100644 --- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst @@ -96,11 +96,7 @@ 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 - - http://www.py2exe.org/ - -Another tool is Anthony Tuininga's `cx_Freeze `_. +which don't. Refer to Doc/faq/windows.rst. Are there coding standards or a style guide for Python programs?