{"id":13746524,"url":"https://github.com/py2exe/py2exe","last_synced_at":"2025-10-21T20:05:56.423Z","repository":{"id":37545673,"uuid":"175003826","full_name":"py2exe/py2exe","owner":"py2exe","description":"Create standalone Windows programs from Python code","archived":false,"fork":false,"pushed_at":"2025-07-21T21:47:21.000Z","size":1284,"stargazers_count":962,"open_issues_count":23,"forks_count":106,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-09-08T15:02:04.786Z","etag":null,"topics":["packaging-python","py2exe","python","wheel"],"latest_commit_sha":null,"homepage":"http://www.py2exe.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/py2exe.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-11T13:16:35.000Z","updated_at":"2025-09-08T07:23:19.000Z","dependencies_parsed_at":"2023-02-10T09:31:35.802Z","dependency_job_id":"6a227eb5-8564-4858-826a-9c2acc89848b","html_url":"https://github.com/py2exe/py2exe","commit_stats":{"total_commits":1075,"total_committers":21,"mean_commits":51.19047619047619,"dds":0.4344186046511628,"last_synced_commit":"4e7b2b2c60face592e67cb1bc935172a20fa371d"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/py2exe/py2exe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py2exe%2Fpy2exe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py2exe%2Fpy2exe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py2exe%2Fpy2exe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py2exe%2Fpy2exe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/py2exe","download_url":"https://codeload.github.com/py2exe/py2exe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py2exe%2Fpy2exe/sbom","scorecard":{"id":751054,"data":{"date":"2025-08-11","repo":{"name":"github.com/py2exe/py2exe","commit":"1f54a75f2224063f5d15e210ae7a74c36d343bc9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Maintained","score":10,"reason":"8 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 4/29 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/CI.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:104: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:119: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:149: update your workflow using https://app.stepsecurity.io/secureworkflow/py2exe/py2exe/CI.yml/master?enable=pin","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.14.0.0 not signed: https://api.github.com/repos/py2exe/py2exe/releases/232680972","Warn: release artifact v0.13.0.2 not signed: https://api.github.com/repos/py2exe/py2exe/releases/166579412","Warn: release artifact v0.13.0.1 not signed: https://api.github.com/repos/py2exe/py2exe/releases/124149668","Warn: release artifact v0.13.0.0 not signed: https://api.github.com/repos/py2exe/py2exe/releases/82166649","Warn: release artifact v0.12.0.2 not signed: https://api.github.com/repos/py2exe/py2exe/releases/81124363","Warn: release artifact v0.14.0.0 does not have provenance: https://api.github.com/repos/py2exe/py2exe/releases/232680972","Warn: release artifact v0.13.0.2 does not have provenance: https://api.github.com/repos/py2exe/py2exe/releases/166579412","Warn: release artifact v0.13.0.1 does not have provenance: https://api.github.com/repos/py2exe/py2exe/releases/124149668","Warn: release artifact v0.13.0.0 does not have provenance: https://api.github.com/repos/py2exe/py2exe/releases/82166649","Warn: release artifact v0.12.0.2 does not have provenance: https://api.github.com/repos/py2exe/py2exe/releases/81124363"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52","Warn: Project is vulnerable to: PYSEC-2020-73","Warn: Project is vulnerable to: PYSEC-2018-21 / GHSA-hgg3-g7gr-66r7","Warn: Project is vulnerable to: GHSA-j225-cvw7-qrx7","Warn: Project is vulnerable to: PYSEC-2021-112 / GHSA-hwfp-hg2m-9vr2","Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg","Warn: Project is vulnerable to: PYSEC-2019-156 / GHSA-xp76-357g-9wqq","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T20:23:11.627Z","repository_id":37545673,"created_at":"2025-08-22T20:23:11.627Z","updated_at":"2025-08-22T20:23:11.627Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280325300,"owners_count":26311419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["packaging-python","py2exe","python","wheel"],"created_at":"2024-08-03T06:00:54.952Z","updated_at":"2025-10-21T20:05:56.417Z","avatar_url":"https://github.com/py2exe.png","language":"Python","readme":"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.14.0.0:\r\n- Add support for Python 3.12 and 3.13\r\n- Drop support for Python 3.8\r\n- Values of `bundle_files` lower than `3` are not supported in Python 3.12 and newer.\r\n  See issue #225 for further details\r\n- Fixes for the `matplotlib`, `numpy`, and `tkinter` hooks\r\n\r\nVersion 0.13.0.2:\r\n- reintroduce ability to specify different version info for each of the frozen binaries\r\n- fix a bug in `MemoryModule.c:PerformBaseRelocation`\r\n- fix missing initialization settings for the runtime Python interpreter\r\n- add support for `setuptools` v72\r\n- fix the `matplotlib`, `numpy`, and `scipy` hooks\r\n- fix `py2exe` wheels build with `setuptools` v70.0.0\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` \u003e= 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\u003c=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","funding_links":[],"categories":["分布","Python","Python (1887)","Code Packaging","Distribution"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy2exe%2Fpy2exe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpy2exe%2Fpy2exe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy2exe%2Fpy2exe/lists"}