Skip to content

Commit

Permalink
Release v6.0.0. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Sep 22, 2023
1 parent 87cda61 commit 7001def
Show file tree
Hide file tree
Showing 70 changed files with 394 additions and 324 deletions.
2 changes: 1 addition & 1 deletion PyInstaller/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from PyInstaller.utils.git import get_repo_revision

# Note: Keep this variable as plain string so it could be updated automatically when doing a release.
__version__ = '5.13.2'
__version__ = '6.0.0'

# Absolute path of this package's directory. Save this early so all submodules can use the absolute path. This is
# required for example if the current directory changes prior to loading the hooks.
Expand Down
Binary file modified PyInstaller/bootloader/Darwin-64bit/run
Binary file not shown.
Binary file modified PyInstaller/bootloader/Darwin-64bit/run_d
Binary file not shown.
Binary file modified PyInstaller/bootloader/Darwin-64bit/runw
Binary file not shown.
Binary file modified PyInstaller/bootloader/Darwin-64bit/runw_d
Binary file not shown.
Binary file modified PyInstaller/bootloader/Linux-32bit-intel/run
Binary file not shown.
Binary file modified PyInstaller/bootloader/Linux-32bit-intel/run_d
Binary file not shown.
Binary file modified PyInstaller/bootloader/Linux-64bit-intel/run
Binary file not shown.
Binary file modified PyInstaller/bootloader/Linux-64bit-intel/run_d
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit-intel/run.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit-intel/run_d.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit-intel/runw.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit-intel/runw_d.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit-intel/run.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit-intel/run_d.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit-intel/runw.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit-intel/runw_d.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ either ``gcc`` or ``clang``) and zlib's development headers already installed.
Support
-------

- Official debugging guide: https://pyinstaller.org/en/v5.13.2/when-things-go-wrong.html
- Official debugging guide: https://pyinstaller.org/en/v6.0.0/when-things-go-wrong.html
- Assorted user contributed help topics: https://github.com/pyinstaller/pyinstaller/wiki
- Web based Q&A forums: https://github.com/pyinstaller/pyinstaller/discussions
- Email based Q&A forums: https://groups.google.com/g/pyinstaller
Expand All @@ -146,5 +146,5 @@ Changes in this Release
You can find a detailed list of changes in this release
in the `Changelog`_ section of the manual.

.. _`manual`: https://pyinstaller.org/en/v5.13.2/
.. _`Changelog`: https://pyinstaller.org/en/v5.13.2/CHANGES.html
.. _`manual`: https://pyinstaller.org/en/v6.0.0/
.. _`Changelog`: https://pyinstaller.org/en/v6.0.0/CHANGES.html
301 changes: 300 additions & 1 deletion doc/CHANGES.rst

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions doc/CREDITS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ Thanks goes to all the kind PyInstaller contributors who have contributed
new code, bug reports, fixes, comments and ideas. A brief list follows,
please let us know if your name is omitted by accident:

Contributions to PyInstaller 6.0.0
----------------------------------

* Rok Mandeljc
* Brénainn Woodsend
* Benedikt Würkner
* Blank
* Brandon
* James Gerity
* Lorenzo Villani
* axoroll7
* byehack
* coolcatco888
* gentlegiantJGC

Contributions to PyInstaller 5.13.2
-----------------------------------

Expand Down
67 changes: 37 additions & 30 deletions doc/pyi-makespec.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "PYI-MAKESPEC" "1" "2023-08-29" "5.13.2" "PyInstaller"
.TH "PYI-MAKESPEC" "1" "2023-09-22" "6.0.0" "PyInstaller"
.SH NAME
pyi-makespec \- Create a spec file for your PyInstaller project
.
Expand Down Expand Up @@ -90,20 +90,36 @@ Folder to store the generated spec file (default: current directory)
.BI \-n \ NAME\fR,\fB \ \-\-name \ NAME
Name to assign to the bundled app and spec file (default: first script\(aqs
basename)
.TP
.BI \-\-contents\-directory \ CONTENTS_DIRECTORY
For onedir builds only, specify the name of the directory in which all
supporting files (i.e. everything except the executable itself) will be
placed in.
.UNINDENT
.SS What To Bundle, Where To Search
.sp
\-\-add\-data SOURCE:DEST
.INDENT 0.0
.TP
.BI \-\-add\-data \ <SRC;DEST or SRC:DEST>
Additional non\-binary files or folders to be added to the executable. The
path separator is platform specific, \fBos.pathsep\fP (which is \fB;\fP on
Windows and \fB:\fP on most unix systems) is used. This option can be used
multiple times.
.TP
.BI \-\-add\-binary \ <SRC;DEST or SRC:DEST>
.INDENT 3.5
Additional data files or directories containing data files to be added to
the application. The argument value should be in form of "source:dest_dir",
where source is the path to file (or directory) to be collected, dest_dir
is the destination directory relative to the top\-level application
directory, and both paths are separated by a colon (:). To put a file in
the top\-level application directory, use . as a dest_dir. This option can
be used multiple times.
.UNINDENT
.UNINDENT
.sp
\-\-add\-binary SOURCE:DEST
.INDENT 0.0
.INDENT 3.5
Additional binary files to be added to the executable. See the
\fB\-\-add\-data\fP option for more details. This option can be used multiple
\fB\-\-add\-data\fP option for the format. This option can be used multiple
times.
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.BI \-p \ DIR\fR,\fB \ \-\-paths \ DIR
A path to search for imports (like using PYTHONPATH). Multiple paths are
Expand Down Expand Up @@ -210,6 +226,17 @@ Windows and Mac OS X: do not provide a console window for standard i/o. On
Mac OS this also triggers building a Mac OS .app bundle. On Windows this
option is automatically set if the first script is a \(aq.pyw\(aq file. This
option is ignored on *NIX systems.
.UNINDENT
.sp
\-\-hide\-console {hide\-early,minimize\-early,hide\-late,minimize\-late}
.INDENT 0.0
.INDENT 3.5
Windows only: in console\-enabled executable, have bootloader automatically
hide or minimize the console window if the program owns the console window
(i.e., was not launched from an existing console window).
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.BI \-i \ <FILE.ico or FILE.exe,ID or FILE.icns or Image or "NONE">\fR,\fB \ \-\-icon \ <FILE.ico or FILE.exe,ID or FILE.icns or Image or "NONE">
FILE.ico: apply the icon to a Windows executable. FILE.exe,ID: extract the
Expand All @@ -234,11 +261,6 @@ Add a version resource from FILE to the exe.
.BI \-m \ <FILE or XML>\fR,\fB \ \-\-manifest \ <FILE or XML>
Add manifest FILE or XML to the exe.
.TP
.B \-\-no\-embed\-manifest
Generate an external .exe.manifest file instead of embedding the manifest
into the exe. Applicable only to onedir mode; in onefile mode, the manifest
is always embedded, regardless of this option.
.TP
.BI \-r \ RESOURCE\fR,\fB \ \-\-resource \ RESOURCE
Add or update a resource to a Windows executable. The RESOURCE is one to
four items, FILE[,TYPE[,NAME[,LANGUAGE]]]. FILE can be a data file or an
Expand All @@ -257,21 +279,6 @@ application start.
Using this option allows an elevated application to work with Remote
Desktop.
.UNINDENT
.SS Windows Side\-By\-Side Assembly Searching Options (Advanced)
.INDENT 0.0
.TP
.B \-\-win\-private\-assemblies
Any Shared Assemblies bundled into the application will be changed into
Private Assemblies. This means the exact versions of these assemblies will
always be used, and any newer versions installed on user machines at the
system level will be ignored.
.TP
.B \-\-win\-no\-prefer\-redirects
While searching for Shared or Private Assemblies to bundle into the
application, PyInstaller will prefer not to follow policies that redirect
to newer versions, and will try to bundle the exact versions of the
assembly.
.UNINDENT
.SS Mac Os Specific Options
.INDENT 0.0
.TP
Expand Down
72 changes: 38 additions & 34 deletions doc/pyinstaller.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "PYINSTALLER" "1" "2023-08-29" "5.13.2" "PyInstaller"
.TH "PYINSTALLER" "1" "2023-09-22" "6.0.0" "PyInstaller"
.SH NAME
pyinstaller \- Configure and build a PyInstaller project in one run
.
Expand Down Expand Up @@ -43,7 +43,7 @@ PyInstaller is a program that freezes (packages) Python programs into
stand\-alone executables, under Windows, GNU/Linux, macOS,
FreeBSD, OpenBSD, Solaris and AIX.
Its main advantages over similar tools are that PyInstaller works with
Python 3.7\-3.11, it builds smaller executables thanks to transparent
Python 3.8\-3.11, it builds smaller executables thanks to transparent
compression, it is fully multi\-platform, and use the OS support to load the
dynamic libraries, thus ensuring full compatibility.
.sp
Expand Down Expand Up @@ -87,9 +87,6 @@ for confirmation
.BI \-\-upx\-dir \ UPX_DIR
Path to UPX utility (default: search the execution path)
.TP
.B \-a\fP,\fB \-\-ascii
Do not include unicode encoding support (default: included if available)
.TP
.B \-\-clean
Clean PyInstaller cache and remove temporary files before building.
.TP
Expand All @@ -113,20 +110,36 @@ Folder to store the generated spec file (default: current directory)
.BI \-n \ NAME\fR,\fB \ \-\-name \ NAME
Name to assign to the bundled app and spec file (default: first script\(aqs
basename)
.TP
.BI \-\-contents\-directory \ CONTENTS_DIRECTORY
For onedir builds only, specify the name of the directory in which all
supporting files (i.e. everything except the executable itself) will be
placed in.
.UNINDENT
.SS What To Bundle, Where To Search
.sp
\-\-add\-data SOURCE:DEST
.INDENT 0.0
.TP
.BI \-\-add\-data \ <SRC;DEST or SRC:DEST>
Additional non\-binary files or folders to be added to the executable. The
path separator is platform specific, \fBos.pathsep\fP (which is \fB;\fP on
Windows and \fB:\fP on most unix systems) is used. This option can be used
multiple times.
.TP
.BI \-\-add\-binary \ <SRC;DEST or SRC:DEST>
.INDENT 3.5
Additional data files or directories containing data files to be added to
the application. The argument value should be in form of "source:dest_dir",
where source is the path to file (or directory) to be collected, dest_dir
is the destination directory relative to the top\-level application
directory, and both paths are separated by a colon (:). To put a file in
the top\-level application directory, use . as a dest_dir. This option can
be used multiple times.
.UNINDENT
.UNINDENT
.sp
\-\-add\-binary SOURCE:DEST
.INDENT 0.0
.INDENT 3.5
Additional binary files to be added to the executable. See the
\fB\-\-add\-data\fP option for more details. This option can be used multiple
\fB\-\-add\-data\fP option for the format. This option can be used multiple
times.
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.BI \-p \ DIR\fR,\fB \ \-\-paths \ DIR
A path to search for imports (like using PYTHONPATH). Multiple paths are
Expand Down Expand Up @@ -233,6 +246,17 @@ Windows and Mac OS X: do not provide a console window for standard i/o. On
Mac OS this also triggers building a Mac OS .app bundle. On Windows this
option is automatically set if the first script is a \(aq.pyw\(aq file. This
option is ignored on *NIX systems.
.UNINDENT
.sp
\-\-hide\-console {hide\-early,minimize\-early,hide\-late,minimize\-late}
.INDENT 0.0
.INDENT 3.5
Windows only: in console\-enabled executable, have bootloader automatically
hide or minimize the console window if the program owns the console window
(i.e., was not launched from an existing console window).
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.BI \-i \ <FILE.ico or FILE.exe,ID or FILE.icns or Image or "NONE">\fR,\fB \ \-\-icon \ <FILE.ico or FILE.exe,ID or FILE.icns or Image or "NONE">
FILE.ico: apply the icon to a Windows executable. FILE.exe,ID: extract the
Expand All @@ -257,11 +281,6 @@ Add a version resource from FILE to the exe.
.BI \-m \ <FILE or XML>\fR,\fB \ \-\-manifest \ <FILE or XML>
Add manifest FILE or XML to the exe.
.TP
.B \-\-no\-embed\-manifest
Generate an external .exe.manifest file instead of embedding the manifest
into the exe. Applicable only to onedir mode; in onefile mode, the manifest
is always embedded, regardless of this option.
.TP
.BI \-r \ RESOURCE\fR,\fB \ \-\-resource \ RESOURCE
Add or update a resource to a Windows executable. The RESOURCE is one to
four items, FILE[,TYPE[,NAME[,LANGUAGE]]]. FILE can be a data file or an
Expand All @@ -280,21 +299,6 @@ application start.
Using this option allows an elevated application to work with Remote
Desktop.
.UNINDENT
.SS Windows Side\-By\-Side Assembly Searching Options (Advanced)
.INDENT 0.0
.TP
.B \-\-win\-private\-assemblies
Any Shared Assemblies bundled into the application will be changed into
Private Assemblies. This means the exact versions of these assemblies will
always be used, and any newer versions installed on user machines at the
system level will be ignored.
.TP
.B \-\-win\-no\-prefer\-redirects
While searching for Shared or Private Assemblies to bundle into the
application, PyInstaller will prefer not to follow policies that redirect
to newer versions, and will try to bundle the exact versions of the
assembly.
.UNINDENT
.SS Mac Os Specific Options
.INDENT 0.0
.TP
Expand Down
2 changes: 0 additions & 2 deletions news/4361.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/4482.feature.rst

This file was deleted.

4 changes: 0 additions & 4 deletions news/5409.bugfix.rst

This file was deleted.

6 changes: 0 additions & 6 deletions news/5560.bugfix.rst

This file was deleted.

6 changes: 0 additions & 6 deletions news/5710.bugfix.rst

This file was deleted.

5 changes: 0 additions & 5 deletions news/6724.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/6999.breaking.rst

This file was deleted.

3 changes: 0 additions & 3 deletions news/7347.bugfix.rst

This file was deleted.

9 changes: 0 additions & 9 deletions news/7619.breaking.1.rst

This file was deleted.

7 changes: 0 additions & 7 deletions news/7619.breaking.rst

This file was deleted.

4 changes: 0 additions & 4 deletions news/7619.bugfix.1.rst

This file was deleted.

9 changes: 0 additions & 9 deletions news/7619.bugfix.2.rst

This file was deleted.

11 changes: 0 additions & 11 deletions news/7619.bugfix.3.rst

This file was deleted.

6 changes: 0 additions & 6 deletions news/7619.bugfix.rst

This file was deleted.

8 changes: 0 additions & 8 deletions news/7619.feature.1.rst

This file was deleted.

10 changes: 0 additions & 10 deletions news/7619.feature.2.rst

This file was deleted.

Loading

0 comments on commit 7001def

Please sign in to comment.