py2exe

Create standalone Windows programs from Python code

https://github.com/py2exe/py2exe

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.5%) to scientific vocabulary

Keywords

packaging-python py2exe python wheel
Last synced: 6 months ago · JSON representation

Repository

Create standalone Windows programs from Python code

Basic Info
  • Host: GitHub
  • Owner: py2exe
  • License: other
  • Language: Python
  • Default Branch: master
  • Homepage: http://www.py2exe.org
  • Size: 1.22 MB
Statistics
  • Stars: 949
  • Watchers: 27
  • Forks: 104
  • Open Issues: 19
  • Releases: 20
Topics
packaging-python py2exe python wheel
Created almost 7 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog License

README.md

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.

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

Changes

The detailed changelog is published on GitHub.

Version 0.14.0.0: - Add support for Python 3.12 and 3.13 - Drop support for Python 3.8 - Values of bundle_files lower than 3 are not supported in Python 3.12 and newer. See issue #225 for further details - Fixes for the matplotlib, numpy, and tkinter hooks

Version 0.13.0.2: - reintroduce ability to specify different version info for each of the frozen binaries - fix a bug in MemoryModule.c:PerformBaseRelocation - fix missing initialization settings for the runtime Python interpreter - add support for setuptools v72 - fix the matplotlib, numpy, and scipy hooks - fix py2exe wheels build with setuptools v70.0.0

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. - 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 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.

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.

Owner

  • Name: py2exe
  • Login: py2exe
  • Kind: organization

GitHub Events

Total
  • Create event: 2
  • Release event: 1
  • Issues event: 15
  • Watch event: 105
  • Issue comment event: 41
  • Push event: 17
  • Pull request review comment event: 9
  • Pull request review event: 12
  • Pull request event: 4
  • Fork event: 12
Last Year
  • Create event: 2
  • Release event: 1
  • Issues event: 15
  • Watch event: 105
  • Issue comment event: 41
  • Push event: 17
  • Pull request review comment event: 9
  • Pull request review event: 12
  • Pull request event: 4
  • Fork event: 12

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 1,075
  • Total Committers: 21
  • Avg Commits per committer: 51.19
  • Development Distribution Score (DDS): 0.434
Past Year
  • Commits: 38
  • Committers: 6
  • Avg Commits per committer: 6.333
  • Development Distribution Score (DDS): 0.237
Top Committers
Name Email Commits
Thomas Heller t****r@c****g 608
Alberto Sottile a****e@g****m 164
Alberto Sottile a****8@g****m 118
Mark Hammond 8****d 72
Jimmy Retzlaff 4****z 57
nobody n****y@b****e 30
Leonard de Ruijter l****d@b****m 5
Daniel Laügt d****t@g****m 2
Mike Zobac m****c@c****a 2
SeaHOH S****h@G****m 2
Uri u****b@g****m 2
uid34174 u****4@b****e 2
leejeonghun j****n@o****m 2
Łukasz Golonka l****a@m****g 2
Charley Peng C****g@a****m 1
Doug Miller D****R@M****G 1
Alberto Sottile a****e@z****m 1
Daniel Jour m****l@g****m 1
Kyle Huston k****n@d****m 1
Erich E. Hoover e****r@s****m 1
Manuel Jacob me@m****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 117
  • Total pull requests: 23
  • Average time to close issues: 4 months
  • Average time to close pull requests: 4 months
  • Total issue authors: 91
  • Total pull request authors: 13
  • Average comments per issue: 4.62
  • Average comments per pull request: 3.13
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 10
  • Pull requests: 3
  • Average time to close issues: 22 minutes
  • Average time to close pull requests: 2 days
  • Issue authors: 10
  • Pull request authors: 3
  • Average comments per issue: 1.9
  • Average comments per pull request: 2.67
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Athanasius (8)
  • urishab (7)
  • lukaszgo1 (4)
  • mharbison72 (4)
  • albertosottile (3)
  • nchidsey (2)
  • zobac (2)
  • jamesstidard (2)
  • novski (2)
  • MaxBQb (2)
  • SeaHOH (1)
  • nightwnvol (1)
  • 11philip22 (1)
  • caesimsol (1)
  • nullSoup (1)
Pull Request Authors
  • ksvintsov (7)
  • SeaHOH (3)
  • lazka (2)
  • dlaugt (2)
  • raedrizqie (2)
  • manueljacob (2)
  • AraHaan (2)
  • H4ckF0rFun (2)
  • pavel-demin (1)
  • codeofdusk (1)
  • saisasidhar (1)
  • zobac (1)
  • mbokil (1)
Top Labels
Issue Labels
bug (26) requires user input (24) question (16) enhancement (12) documentation (7) invalid (6) help wanted (4) unable to reproduce (3) wontfix (3)
Pull Request Labels
bug (5) requires user input (3) documentation (1) enhancement (1)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 32,052 last-month
  • Total dependent packages: 4
    (may contain duplicates)
  • Total dependent repositories: 332
    (may contain duplicates)
  • Total versions: 37
  • Total maintainers: 3
pypi.org: py2exe

Build standalone executables for Windows

  • Versions: 30
  • Dependent Packages: 3
  • Dependent Repositories: 331
  • Downloads: 32,052 Last month
Rankings
Dependent repos count: 0.8%
Downloads: 2.0%
Stargazers count: 2.4%
Average: 2.6%
Dependent packages count: 3.2%
Forks count: 4.8%
Maintainers (3)
Last synced: 7 months ago
conda-forge.org: py2exe

`py2exe` is a distutils extension which allows to build standalone Windows executable programs (32-bit and 64-bit) from Python scripts

  • Homepage: http://www.py2exe.org/
  • License: MIT AND X11 AND MPL-2.0
  • Latest release: 0.13.0.0
    published over 3 years ago
  • Versions: 7
  • Dependent Packages: 1
  • Dependent Repositories: 1
Rankings
Stargazers count: 17.7%
Forks count: 22.9%
Average: 23.5%
Dependent repos count: 24.3%
Dependent packages count: 29.0%
Last synced: 6 months ago

Dependencies

setup.py pypi
  • cachetools *
tests/functional/_wxPython_test/requirements.txt pypi
  • wxPython *
tests/functional/_zope_interface_test/requirements.txt pypi
  • zope.interface *
tests/functional/certifi_test/requirements.txt pypi
  • certifi *
tests/functional/certifi_zip_test/requirements.txt pypi
  • certifi *
tests/functional/matplotlib_test/requirements.txt pypi
  • matplotlib *
tests/functional/metadata_test/requirements.txt pypi
  • semantic_version <2.9.0
  • semantic_version *
tests/functional/numpy_test/requirements.txt pypi
  • numpy *
tests/functional/pandas_test/requirements.txt pypi
  • pandas *
tests/functional/pycryptodome_test/requirements.txt pypi
  • pycryptodome *
tests/functional/pywin32_test/requirements.txt pypi
  • pywin32 *
tests/functional/requests_bf_1_test/requirements.txt pypi
  • requests *
tests/functional/requests_test/requirements.txt pypi
  • requests *
tests/functional/scipy_test/requirements.txt pypi
  • scipy *
.github/workflows/CI.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
tests/functional/_winrt_test/requirements.txt pypi
  • winrt * test