PyInstaller Overview
====================
.. image:: https://img.shields.io/pypi/v/pyinstaller
:alt: PyPI
:target: https://pypi.org/project/pyinstaller
.. image:: https://img.shields.io/pypi/pyversions/pyinstaller
:alt: PyPI - Python Version
:target: https://pypi.org/project/pyinstaller
.. image:: https://img.shields.io/readthedocs/pyinstaller/stable
:alt: Read the Docs (version)
:target: https://pyinstaller.org
.. image:: https://img.shields.io/pypi/dm/pyinstaller
:alt: PyPI - Downloads
:target: https://pypistats.org/packages/pyinstaller
PyInstaller bundles a Python application and all its dependencies into a single
package. The user can run the packaged app without installing a Python
interpreter or any modules.
:Documentation: https://pyinstaller.org/
:Code: https://github.com/pyinstaller/pyinstaller
PyInstaller reads a Python script written by you. It analyzes your code
to discover every other module and library your script needs in order to
execute. Then it collects copies of all those files -- including the active
Python interpreter! -- and puts them with your script in a single folder, or
optionally in a single executable file.
PyInstaller is tested against Windows, macOS, and GNU/Linux.
However, it is not a cross-compiler:
to make a Windows app you run PyInstaller in Windows; to make
a GNU/Linux app you run it in GNU/Linux, etc.
PyInstaller has been used successfully
with AIX, Solaris, FreeBSD and OpenBSD,
but is not tested against them as part of the continuous integration tests.
Main Advantages
---------------
- Works out-of-the-box with any Python version 3.8-3.12.
- Fully multi-platform, and uses the OS support to load the dynamic libraries,
thus ensuring full compatibility.
- Correctly bundles the major Python packages such as numpy, PyQt5,
PySide2, PyQt6, PySide6, wxPython, matplotlib and others out-of-the-box.
- Compatible with many 3rd-party packages out-of-the-box. (All the required
tricks to make external packages work are already integrated.)
- Works with code signing on macOS.
- Bundles MS Visual C++ DLLs on Windows.
Installation
------------
PyInstaller is available on PyPI. You can install it through `pip`:
.. code:: bash
pip install pyinstaller
Requirements and Tested Platforms
---------------------------------
- Python:
- 3.8-3.12. Note that Python 3.10.0 contains a bug making it unsupportable by
PyInstaller. PyInstaller will also not work with beta releases of Python
3.13.
- Windows (32bit/64bit/ARM64):
- PyInstaller should work on Windows 7 or newer, but we only officially support Windows 8+.
- Support for Python installed from the Windows store without using virtual
environments requires PyInstaller 4.4 or later.
- Linux:
- GNU libc based distributions on architectures ``x86_64``, ``aarch64``,
``i686``, ``ppc64le``, ``s390x``.
- musl libc based distributions on architectures ``x86_64``, ``aarch64``.
- ldd: Console application to print the shared libraries required
by each program or shared library. This typically can be found in
the distribution-package `glibc` or `libc-bin`.
- objdump: Console application to display information from
object files. This typically can be found in the
distribution-package `binutils`.
- objcopy: Console application to copy and translate object files.
This typically can be found in the distribution-package `binutils`,
too.
- Raspberry Pi users on ``armv5``-``armv7`` should `add piwheels as an extra
index url <https://www.piwheels.org/>`_ then ``pip install pyinstaller``
as usual.
- macOS (``x86_64`` or ``arm64``):
- macOS 10.15 (Catalina) or newer.
- Supports building ``universal2`` applications provided that your installation
of Python and all your dependencies are also compiled ``universal2``.
Usage
-----
Basic usage is very simple, just run it against your main script:
.. code:: bash
pyinstaller /path/to/yourscript.py
For more details, see the `manual`_.
Untested Platforms
------------------
The following platforms have been contributed and any feedback or
enhancements on these are welcome.
- FreeBSD
- ldd
- Solaris
- ldd
- objdump
- AIX
- AIX 6.1 or newer. PyInstaller will not work with statically
linked Python libraries.
- ldd
- Linux on any other libc implementation/architecture combination not listed
above.
Before using any contributed platform, you need to build the PyInstaller
bootloader. This will happen automatically when you ``pip install
pyinstaller`` provided that you have an appropriate C compiler (typically
either ``gcc`` or ``clang``) and zlib's development headers already installed.
Support
-------
- Official debugging guide: https://pyinstaller.org/en/v6.5.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
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/v6.5.0/
.. _`Changelog`: https://pyinstaller.org/en/v6.5.0/CHANGES.html
Raw data
{
"_id": null,
"home_page": "https://www.pyinstaller.org/",
"name": "custom-fork-pyinstaller",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.8",
"maintainer_email": null,
"keywords": "packaging, app, apps, bundle, convert, standalone, executable, pyinstaller, cxfreeze, freeze, py2exe, py2app, bbfreeze",
"author": "Hartmut Goebel, Giovanni Bajo, David Vierra, David Cortesi, Martin Zibricky",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/54/72/d2b98f3ed5867a5a71bd5dce1de5d4e4c2651c1f8f6855f000e6941434ba/custom_fork_pyinstaller-6.5.0.tar.gz",
"platform": null,
"description": "PyInstaller Overview\n====================\n\n.. image:: https://img.shields.io/pypi/v/pyinstaller\n :alt: PyPI\n :target: https://pypi.org/project/pyinstaller\n.. image:: https://img.shields.io/pypi/pyversions/pyinstaller\n :alt: PyPI - Python Version\n :target: https://pypi.org/project/pyinstaller\n.. image:: https://img.shields.io/readthedocs/pyinstaller/stable\n :alt: Read the Docs (version)\n :target: https://pyinstaller.org\n.. image:: https://img.shields.io/pypi/dm/pyinstaller\n :alt: PyPI - Downloads\n :target: https://pypistats.org/packages/pyinstaller\n\n\nPyInstaller bundles a Python application and all its dependencies into a single\npackage. The user can run the packaged app without installing a Python\ninterpreter or any modules.\n\n:Documentation: https://pyinstaller.org/\n:Code: https://github.com/pyinstaller/pyinstaller\n\nPyInstaller reads a Python script written by you. It analyzes your code\nto discover every other module and library your script needs in order to\nexecute. Then it collects copies of all those files -- including the active\nPython interpreter! -- and puts them with your script in a single folder, or\noptionally in a single executable file.\n\n\nPyInstaller is tested against Windows, macOS, and GNU/Linux.\nHowever, it is not a cross-compiler:\nto make a Windows app you run PyInstaller in Windows; to make\na GNU/Linux app you run it in GNU/Linux, etc.\nPyInstaller has been used successfully\nwith AIX, Solaris, FreeBSD and OpenBSD,\nbut is not tested against them as part of the continuous integration tests.\n\n\nMain Advantages\n---------------\n\n- Works out-of-the-box with any Python version 3.8-3.12.\n- Fully multi-platform, and uses the OS support to load the dynamic libraries,\n thus ensuring full compatibility.\n- Correctly bundles the major Python packages such as numpy, PyQt5,\n PySide2, PyQt6, PySide6, wxPython, matplotlib and others out-of-the-box.\n- Compatible with many 3rd-party packages out-of-the-box. (All the required\n tricks to make external packages work are already integrated.)\n- Works with code signing on macOS.\n- Bundles MS Visual C++ DLLs on Windows.\n\n\nInstallation\n------------\n\nPyInstaller is available on PyPI. You can install it through `pip`:\n\n.. code:: bash\n\n pip install pyinstaller\n\n\nRequirements and Tested Platforms\n---------------------------------\n\n- Python:\n - 3.8-3.12. Note that Python 3.10.0 contains a bug making it unsupportable by\n PyInstaller. PyInstaller will also not work with beta releases of Python\n 3.13.\n- Windows (32bit/64bit/ARM64):\n - PyInstaller should work on Windows 7 or newer, but we only officially support Windows 8+.\n - Support for Python installed from the Windows store without using virtual\n environments requires PyInstaller 4.4 or later.\n- Linux:\n - GNU libc based distributions on architectures ``x86_64``, ``aarch64``,\n ``i686``, ``ppc64le``, ``s390x``.\n - musl libc based distributions on architectures ``x86_64``, ``aarch64``.\n - ldd: Console application to print the shared libraries required\n by each program or shared library. This typically can be found in\n the distribution-package `glibc` or `libc-bin`.\n - objdump: Console application to display information from\n object files. This typically can be found in the\n distribution-package `binutils`.\n - objcopy: Console application to copy and translate object files.\n This typically can be found in the distribution-package `binutils`,\n too.\n - Raspberry Pi users on ``armv5``-``armv7`` should `add piwheels as an extra\n index url <https://www.piwheels.org/>`_ then ``pip install pyinstaller``\n as usual.\n- macOS (``x86_64`` or ``arm64``):\n - macOS 10.15 (Catalina) or newer.\n - Supports building ``universal2`` applications provided that your installation\n of Python and all your dependencies are also compiled ``universal2``.\n\n\nUsage\n-----\n\nBasic usage is very simple, just run it against your main script:\n\n.. code:: bash\n\n pyinstaller /path/to/yourscript.py\n\nFor more details, see the `manual`_.\n\n\nUntested Platforms\n------------------\n\nThe following platforms have been contributed and any feedback or\nenhancements on these are welcome.\n\n- FreeBSD\n - ldd\n- Solaris\n - ldd\n - objdump\n- AIX\n - AIX 6.1 or newer. PyInstaller will not work with statically\n linked Python libraries.\n - ldd\n- Linux on any other libc implementation/architecture combination not listed\n above.\n\nBefore using any contributed platform, you need to build the PyInstaller\nbootloader. This will happen automatically when you ``pip install\npyinstaller`` provided that you have an appropriate C compiler (typically\neither ``gcc`` or ``clang``) and zlib's development headers already installed.\n\n\nSupport\n-------\n\n- Official debugging guide: https://pyinstaller.org/en/v6.5.0/when-things-go-wrong.html\n- Assorted user contributed help topics: https://github.com/pyinstaller/pyinstaller/wiki\n- Web based Q&A forums: https://github.com/pyinstaller/pyinstaller/discussions\n- Email based Q&A forums: https://groups.google.com/g/pyinstaller\n\n\nChanges in this Release\n-----------------------\n\nYou can find a detailed list of changes in this release\nin the `Changelog`_ section of the manual.\n\n.. _`manual`: https://pyinstaller.org/en/v6.5.0/\n.. _`Changelog`: https://pyinstaller.org/en/v6.5.0/CHANGES.html\n",
"bugtrack_url": null,
"license": "GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)",
"summary": "PyInstaller bundles a Python application and all its dependencies into a single package.",
"version": "6.5.0",
"project_urls": {
"Homepage": "https://www.pyinstaller.org/",
"Source": "https://github.com/pyinstaller/pyinstaller"
},
"split_keywords": [
"packaging",
" app",
" apps",
" bundle",
" convert",
" standalone",
" executable",
" pyinstaller",
" cxfreeze",
" freeze",
" py2exe",
" py2app",
" bbfreeze"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "383225895d777cd221477268e020b71d1353962ea052f79a5aa061051199189d",
"md5": "7af2b5aac05232e156100efe64407361",
"sha256": "b6343c1f07bd92eac20299e5e650f49c1c19af54d9ddca7ab97b7ec426a201c3"
},
"downloads": -1,
"filename": "custom_fork_pyinstaller-6.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7af2b5aac05232e156100efe64407361",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.8",
"size": 2239832,
"upload_time": "2024-03-26T00:39:16",
"upload_time_iso_8601": "2024-03-26T00:39:16.288169Z",
"url": "https://files.pythonhosted.org/packages/38/32/25895d777cd221477268e020b71d1353962ea052f79a5aa061051199189d/custom_fork_pyinstaller-6.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5472d2b98f3ed5867a5a71bd5dce1de5d4e4c2651c1f8f6855f000e6941434ba",
"md5": "e3a6321e5284e2d74e3074ce787fbe41",
"sha256": "7accaf59baef0ae1fc43c4b6d41b8ef09dea29b0e2bf5812f2165df712ac4a3b"
},
"downloads": -1,
"filename": "custom_fork_pyinstaller-6.5.0.tar.gz",
"has_sig": false,
"md5_digest": "e3a6321e5284e2d74e3074ce787fbe41",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.8",
"size": 2420975,
"upload_time": "2024-03-26T00:39:19",
"upload_time_iso_8601": "2024-03-26T00:39:19.092698Z",
"url": "https://files.pythonhosted.org/packages/54/72/d2b98f3ed5867a5a71bd5dce1de5d4e4c2651c1f8f6855f000e6941434ba/custom_fork_pyinstaller-6.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-26 00:39:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pyinstaller",
"github_project": "pyinstaller",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "custom-fork-pyinstaller"
}