py2exe


Namepy2exe JSON
Version 0.13.0.1 PyPI version JSON
download
home_pagehttp://www.py2exe.org/
SummaryBuild standalone executables for Windows
upload_time2023-10-07 21:21:25
maintainerAlberto Sottile
docs_urlNone
authorThomas Heller
requires_python>=3.8, <3.12
licenseMIT/X11
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            py2exe for Python 3
===================

`py2exe` is a software to build standalone Windows executable programs from Python
scripts. `py2exe` can build console executables and windows (GUI) executables.
`py2exe` supports the Python versions* included in the [official development cycle](https://devguide.python.org/#status-of-python-branches).

Development of `py2exe` is hosted here: https://github.com/py2exe/py2exe.


Changes
----------------------------

The detailed changelog is published on [GitHub](https://github.com/py2exe/py2exe/releases/).

Version 0.13.0.1:
- improved the hook for `pkg_resources` to detect its vendored content automatically
- the `matplotlib` hook now does not exclude `wx` automatically
- adapted the hook for `matplotlib` to support their use of `delvewheel`
- adapted the hooks for `numpy` and `pandas` to support the new `.libs` location

Version 0.13.0.0:
- Add support for Python 3.11
- Drop support for Python 3.7
- Drop support for `win32` wheels
  - `win32` wheels are still built and shipped but are provided untested. Issues
    experienced when using these wheels will not be investigated.
    See https://github.com/py2exe/py2exe/discussions/157 for further information.
- Remove `build_exe` command line interface. Please use the `py2exe.freeze` API.

Version 0.12.0.2:
- Support `scipy` versions newer than 1.9.2.
- Fixed documentation for the `py2exe.freeze` API.

Version 0.12.0.1:
- Fixed an issue that prevented builds via the deprecated `setup.py` API.

Version 0.12.0.0:
- Introduce the new `py2exe.freeze` API. Documentation can be found [here](https://github.com/py2exe/py2exe/blob/master/docs/py2exe.freeze.md).
- Use of the `setup.py py2exe` command and of `distutils` is deprecated as per PEP 632. Both
  these interfaces will be removed in the next major release. See [here](https://github.com/py2exe/py2exe/blob/master/docs/migration.md)
  for a migration guide.
- Add two hooks to fix the bundling of `winrt` and `passlib`.

Version 0.11.1.1:
- The log file for windows apps is now stored in `%APPDATA%` by default
- `ModuleFinder` now raises an explicit error if a required module is in `excludes`
- Restore hook functionality for `pkg_resources`
- The `Stderr.write` method used for windows apps now returns the number of written bytes

Version 0.11.1.0:
- Drop support for Python 3.6
- Include package metadata in the bundle archive (to be used by e.g. `importlib.metadata`)
- Fixed a bug that prevented to use the `optimize` option when `six` was in the bundle
- Fixed a bug that ignored the `optimize` flag for some packages

Version 0.11.0.1:
- Show again relative paths in Tracebacks that happen from the frozen application
  (#12 and #114)

Version 0.11.0.0:
- New module finder `mf310` written as a wrapper around CPython `modulefinder.ModuleFinder`
- Add support for Python 3.10
- New hook for `scipy`
- `zipextimporter` can now be built as a standalone extension via its own setup script

Version 0.10.4.1:
- `ModuleFinder`: add support for the `pkg_resources.extern.VendorImporter` loader
- New hooks for `pkg_resources` and `infi`

Version 0.10.4.0:
- `zipextimporter` supports external modules that use multi-phase initialization (PEP 489)
- New hook for `selenium`
- `dllfinder` provides a new method to add data files in the zip archive

Version 0.10.3.1:
- New hook for `pycryptodomex`
- `ModuleFinder`: respect excludes list in `import_package`
- Updated hook for `matplotlib` >= 3.4.0

Version 0.10.3.0:
- New hook for supporting `matplotlib` 3.2 and higher.
- Fix for including implicit namespace packages as per PEP420.

Version 0.10.2.1:
- Patch `MyLoadLibrary` to support `ssl` with `bundle_files=0`.

Version 0.10.2.0:
- New module finder with support for implicit namespace packages (PEP 420).
- `DLLFinder` automatically excludes VC++ redist and Windows CRT DLLs from bundles.
- Several fixes for bundling software with `bundle_files<=2` (only the standard library
  is supported, other dependencies may or may not work).
- New hooks for `pycryptodome` and `shapely`.

Version 0.10.1.0:
- Add support for Python 3.9.
- Drop support for Python 3.5.
- New hooks for `urllib3` and `pandas`.

Version 0.10.0.2 (from versions 0.9.x):
- Introduce compatibility with Python 3.5, 3.6, 3.7, and 3.8.
- Drop compatibility with Python 3.4 and earlier.
- New or updated hooks for `certifi`, `numpy`, `tkinter`, `socket`,
`ssl`, and `six`.
- `build_exe`: the `zipfile=None` option has been removed.
- `runtime`: the Python interpreter DLL is no longer altered before
being inserted in the executable bundle.
- Several bugfixes, better error messages.


Installation
------------

```pip install py2exe```

Usage
---------------
Use the `py2exe.freeze` function as documented [here](https://github.com/py2exe/py2exe/blob/master/docs/py2exe.freeze.md).


Using a `setup.py` script or the builder
-----------------

Using a `setup.py` script with `py2exe` is deprecated. Please adapt your
scripts to use the new `freeze` API. This interface will be removed in the
next major release.

The `build_exe` (or `-m py2exe`) CLI was removed in version 0.13.0.0.

Known issues and notes
------------

- High-level methods or hooks to embed Qt plugins in the bundle (needed by
PySide2/PyQt5) are missing.
- (*) `win32` wheels are provided without testing. Users are encouraged to
use the `win_amd64` wheels (see #157).

Credits
--------

Further informations about the original development of `py2exe` and other
usage guidelines can be found [in the original README](https://github.com/py2exe/py2exe/blob/master/README_ORIGINAL.rst).

            

Raw data

            {
    "_id": null,
    "home_page": "http://www.py2exe.org/",
    "name": "py2exe",
    "maintainer": "Alberto Sottile",
    "docs_url": null,
    "requires_python": ">=3.8, <3.12",
    "maintainer_email": "alby128@gmail.com",
    "keywords": "",
    "author": "Thomas Heller",
    "author_email": "theller@ctypes.org",
    "download_url": "",
    "platform": "Windows",
    "description": "py2exe for Python 3\r\n===================\r\n\r\n`py2exe` is a software to build standalone Windows executable programs from Python\r\nscripts. `py2exe` can build console executables and windows (GUI) executables.\r\n`py2exe` supports the Python versions* included in the [official development cycle](https://devguide.python.org/#status-of-python-branches).\r\n\r\nDevelopment of `py2exe` is hosted here: https://github.com/py2exe/py2exe.\r\n\r\n\r\nChanges\r\n----------------------------\r\n\r\nThe detailed changelog is published on [GitHub](https://github.com/py2exe/py2exe/releases/).\r\n\r\nVersion 0.13.0.1:\r\n- improved the hook for `pkg_resources` to detect its vendored content automatically\r\n- the `matplotlib` hook now does not exclude `wx` automatically\r\n- adapted the hook for `matplotlib` to support their use of `delvewheel`\r\n- adapted the hooks for `numpy` and `pandas` to support the new `.libs` location\r\n\r\nVersion 0.13.0.0:\r\n- Add support for Python 3.11\r\n- Drop support for Python 3.7\r\n- Drop support for `win32` wheels\r\n  - `win32` wheels are still built and shipped but are provided untested. Issues\r\n    experienced when using these wheels will not be investigated.\r\n    See https://github.com/py2exe/py2exe/discussions/157 for further information.\r\n- Remove `build_exe` command line interface. Please use the `py2exe.freeze` API.\r\n\r\nVersion 0.12.0.2:\r\n- Support `scipy` versions newer than 1.9.2.\r\n- Fixed documentation for the `py2exe.freeze` API.\r\n\r\nVersion 0.12.0.1:\r\n- Fixed an issue that prevented builds via the deprecated `setup.py` API.\r\n\r\nVersion 0.12.0.0:\r\n- Introduce the new `py2exe.freeze` API. Documentation can be found [here](https://github.com/py2exe/py2exe/blob/master/docs/py2exe.freeze.md).\r\n- Use of the `setup.py py2exe` command and of `distutils` is deprecated as per PEP 632. Both\r\n  these interfaces will be removed in the next major release. See [here](https://github.com/py2exe/py2exe/blob/master/docs/migration.md)\r\n  for a migration guide.\r\n- Add two hooks to fix the bundling of `winrt` and `passlib`.\r\n\r\nVersion 0.11.1.1:\r\n- The log file for windows apps is now stored in `%APPDATA%` by default\r\n- `ModuleFinder` now raises an explicit error if a required module is in `excludes`\r\n- Restore hook functionality for `pkg_resources`\r\n- The `Stderr.write` method used for windows apps now returns the number of written bytes\r\n\r\nVersion 0.11.1.0:\r\n- Drop support for Python 3.6\r\n- Include package metadata in the bundle archive (to be used by e.g. `importlib.metadata`)\r\n- Fixed a bug that prevented to use the `optimize` option when `six` was in the bundle\r\n- Fixed a bug that ignored the `optimize` flag for some packages\r\n\r\nVersion 0.11.0.1:\r\n- Show again relative paths in Tracebacks that happen from the frozen application\r\n  (#12 and #114)\r\n\r\nVersion 0.11.0.0:\r\n- New module finder `mf310` written as a wrapper around CPython `modulefinder.ModuleFinder`\r\n- Add support for Python 3.10\r\n- New hook for `scipy`\r\n- `zipextimporter` can now be built as a standalone extension via its own setup script\r\n\r\nVersion 0.10.4.1:\r\n- `ModuleFinder`: add support for the `pkg_resources.extern.VendorImporter` loader\r\n- New hooks for `pkg_resources` and `infi`\r\n\r\nVersion 0.10.4.0:\r\n- `zipextimporter` supports external modules that use multi-phase initialization (PEP 489)\r\n- New hook for `selenium`\r\n- `dllfinder` provides a new method to add data files in the zip archive\r\n\r\nVersion 0.10.3.1:\r\n- New hook for `pycryptodomex`\r\n- `ModuleFinder`: respect excludes list in `import_package`\r\n- Updated hook for `matplotlib` >= 3.4.0\r\n\r\nVersion 0.10.3.0:\r\n- New hook for supporting `matplotlib` 3.2 and higher.\r\n- Fix for including implicit namespace packages as per PEP420.\r\n\r\nVersion 0.10.2.1:\r\n- Patch `MyLoadLibrary` to support `ssl` with `bundle_files=0`.\r\n\r\nVersion 0.10.2.0:\r\n- New module finder with support for implicit namespace packages (PEP 420).\r\n- `DLLFinder` automatically excludes VC++ redist and Windows CRT DLLs from bundles.\r\n- Several fixes for bundling software with `bundle_files<=2` (only the standard library\r\n  is supported, other dependencies may or may not work).\r\n- New hooks for `pycryptodome` and `shapely`.\r\n\r\nVersion 0.10.1.0:\r\n- Add support for Python 3.9.\r\n- Drop support for Python 3.5.\r\n- New hooks for `urllib3` and `pandas`.\r\n\r\nVersion 0.10.0.2 (from versions 0.9.x):\r\n- Introduce compatibility with Python 3.5, 3.6, 3.7, and 3.8.\r\n- Drop compatibility with Python 3.4 and earlier.\r\n- New or updated hooks for `certifi`, `numpy`, `tkinter`, `socket`,\r\n`ssl`, and `six`.\r\n- `build_exe`: the `zipfile=None` option has been removed.\r\n- `runtime`: the Python interpreter DLL is no longer altered before\r\nbeing inserted in the executable bundle.\r\n- Several bugfixes, better error messages.\r\n\r\n\r\nInstallation\r\n------------\r\n\r\n```pip install py2exe```\r\n\r\nUsage\r\n---------------\r\nUse the `py2exe.freeze` function as documented [here](https://github.com/py2exe/py2exe/blob/master/docs/py2exe.freeze.md).\r\n\r\n\r\nUsing a `setup.py` script or the builder\r\n-----------------\r\n\r\nUsing a `setup.py` script with `py2exe` is deprecated. Please adapt your\r\nscripts to use the new `freeze` API. This interface will be removed in the\r\nnext major release.\r\n\r\nThe `build_exe` (or `-m py2exe`) CLI was removed in version 0.13.0.0.\r\n\r\nKnown issues and notes\r\n------------\r\n\r\n- High-level methods or hooks to embed Qt plugins in the bundle (needed by\r\nPySide2/PyQt5) are missing.\r\n- (*) `win32` wheels are provided without testing. Users are encouraged to\r\nuse the `win_amd64` wheels (see #157).\r\n\r\nCredits\r\n--------\r\n\r\nFurther informations about the original development of `py2exe` and other\r\nusage guidelines can be found [in the original README](https://github.com/py2exe/py2exe/blob/master/README_ORIGINAL.rst).\r\n",
    "bugtrack_url": null,
    "license": "MIT/X11",
    "summary": "Build standalone executables for Windows",
    "version": "0.13.0.1",
    "project_urls": {
        "Documentation": "https://github.com/py2exe/py2exe/blob/master/docs/py2exe.freeze.md",
        "Homepage": "http://www.py2exe.org/",
        "Source": "https://github.com/py2exe/py2exe",
        "Tracker": "https://github.com/py2exe/py2exe/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d61645298bf7a234e965c5fc8b33d7001239dbe6e94c37108ab788c8d73e98f2",
                "md5": "c9ffd435585e72d1de59cf6977e88687",
                "sha256": "d460cd7c09a026fb7c05244ba6187add717cf2d44edec2199290b4de9e482c5d"
            },
            "downloads": -1,
            "filename": "py2exe-0.13.0.1-cp310-cp310-win32.whl",
            "has_sig": false,
            "md5_digest": "c9ffd435585e72d1de59cf6977e88687",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8, <3.12",
            "size": 146338,
            "upload_time": "2023-10-07T21:21:25",
            "upload_time_iso_8601": "2023-10-07T21:21:25.158765Z",
            "url": "https://files.pythonhosted.org/packages/d6/16/45298bf7a234e965c5fc8b33d7001239dbe6e94c37108ab788c8d73e98f2/py2exe-0.13.0.1-cp310-cp310-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2ddc727a86085e39c6707cb6934f23e0a413a719deb7c247112bcaf02780f89d",
                "md5": "c961cc64758e6040beb3d9563f5e4745",
                "sha256": "abb6673a9802bf6538e383050c166825c27d6decb89bbeca7c14656c0346712a"
            },
            "downloads": -1,
            "filename": "py2exe-0.13.0.1-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "c961cc64758e6040beb3d9563f5e4745",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8, <3.12",
            "size": 154758,
            "upload_time": "2023-10-07T21:21:27",
            "upload_time_iso_8601": "2023-10-07T21:21:27.125777Z",
            "url": "https://files.pythonhosted.org/packages/2d/dc/727a86085e39c6707cb6934f23e0a413a719deb7c247112bcaf02780f89d/py2exe-0.13.0.1-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bfad602ab419890fdda8f8b91c9ab5d2c3ac14de613192d29b08c4b5e5232c52",
                "md5": "9168adc2293089626beb39c87f026a1a",
                "sha256": "fe98a6c51a110f7ccb56fe29a98e56d60c6b2613538c1fd3152aabf851e04f7d"
            },
            "downloads": -1,
            "filename": "py2exe-0.13.0.1-cp311-cp311-win32.whl",
            "has_sig": false,
            "md5_digest": "9168adc2293089626beb39c87f026a1a",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8, <3.12",
            "size": 146219,
            "upload_time": "2023-10-07T21:21:28",
            "upload_time_iso_8601": "2023-10-07T21:21:28.875465Z",
            "url": "https://files.pythonhosted.org/packages/bf/ad/602ab419890fdda8f8b91c9ab5d2c3ac14de613192d29b08c4b5e5232c52/py2exe-0.13.0.1-cp311-cp311-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b107f45b201eb8c3fea1af6a9bd9f733479aa9d009139ce2396e06db7aa778c8",
                "md5": "6c61b9bcf68ade59bf52f893948112c1",
                "sha256": "f82cc157faf80fda155950d080c8456a430dedf21950b344e3d8c08e72cc8331"
            },
            "downloads": -1,
            "filename": "py2exe-0.13.0.1-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "6c61b9bcf68ade59bf52f893948112c1",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8, <3.12",
            "size": 154639,
            "upload_time": "2023-10-07T21:21:30",
            "upload_time_iso_8601": "2023-10-07T21:21:30.203453Z",
            "url": "https://files.pythonhosted.org/packages/b1/07/f45b201eb8c3fea1af6a9bd9f733479aa9d009139ce2396e06db7aa778c8/py2exe-0.13.0.1-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d16802e50aa4c72b0832430364c348f484259a2bf5eec7898ff7fa298100ee4d",
                "md5": "064f695965a8975baa2ed6826cb046f3",
                "sha256": "fbcafe4e1175862f432104dba0862bc158fc932228752688a3e52251c9bf0b95"
            },
            "downloads": -1,
            "filename": "py2exe-0.13.0.1-cp38-cp38-win32.whl",
            "has_sig": false,
            "md5_digest": "064f695965a8975baa2ed6826cb046f3",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8, <3.12",
            "size": 146336,
            "upload_time": "2023-10-07T21:21:31",
            "upload_time_iso_8601": "2023-10-07T21:21:31.838685Z",
            "url": "https://files.pythonhosted.org/packages/d1/68/02e50aa4c72b0832430364c348f484259a2bf5eec7898ff7fa298100ee4d/py2exe-0.13.0.1-cp38-cp38-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4253ab1be82fe214f73ecab014f7e34a91367f214202f755d1c13ec2a673b461",
                "md5": "4827e3fcd736cf7102ae2a55c65f36f3",
                "sha256": "ec4faba55f1d439890a84fd2b05940f830035fa661fbc90ca6a771ec05c44e62"
            },
            "downloads": -1,
            "filename": "py2exe-0.13.0.1-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "4827e3fcd736cf7102ae2a55c65f36f3",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8, <3.12",
            "size": 154769,
            "upload_time": "2023-10-07T21:21:33",
            "upload_time_iso_8601": "2023-10-07T21:21:33.520309Z",
            "url": "https://files.pythonhosted.org/packages/42/53/ab1be82fe214f73ecab014f7e34a91367f214202f755d1c13ec2a673b461/py2exe-0.13.0.1-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "780dbe0fb7c54f2354becd667a19be823f3c91ab399ed9432f653023ce846814",
                "md5": "a4ec88ab3b1a525c2e3e2616541f6946",
                "sha256": "8aba4da60bfef8ca26581a4da1fc1c41f617a7a2c03cbc8a6e2a8b37c26886f9"
            },
            "downloads": -1,
            "filename": "py2exe-0.13.0.1-cp39-cp39-win32.whl",
            "has_sig": false,
            "md5_digest": "a4ec88ab3b1a525c2e3e2616541f6946",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8, <3.12",
            "size": 146328,
            "upload_time": "2023-10-07T21:21:35",
            "upload_time_iso_8601": "2023-10-07T21:21:35.205871Z",
            "url": "https://files.pythonhosted.org/packages/78/0d/be0fb7c54f2354becd667a19be823f3c91ab399ed9432f653023ce846814/py2exe-0.13.0.1-cp39-cp39-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d35668d123121106706cdcdd8f0dcbe3ae0ef81a9c826cca00d8e2535227a1ad",
                "md5": "2a08c8c6e3e2cb08c98ac3da69cb3cf9",
                "sha256": "69ad7764636f7bce0bb45ef1cdfe8b0c60d3f90603a060dfb7b554d9a8aea2b3"
            },
            "downloads": -1,
            "filename": "py2exe-0.13.0.1-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "2a08c8c6e3e2cb08c98ac3da69cb3cf9",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8, <3.12",
            "size": 154801,
            "upload_time": "2023-10-07T21:21:36",
            "upload_time_iso_8601": "2023-10-07T21:21:36.434684Z",
            "url": "https://files.pythonhosted.org/packages/d3/56/68d123121106706cdcdd8f0dcbe3ae0ef81a9c826cca00d8e2535227a1ad/py2exe-0.13.0.1-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-07 21:21:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "py2exe",
    "github_project": "py2exe",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "py2exe"
}
        
Elapsed time: 0.12129s