Py2exe для python 3

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Create standalone Windows programs from Python code

License

Unknown, MPL-2.0 licenses found

Licenses found

py2exe/py2exe

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Fix which due to "warning C4700: uninitialized local variable 'res' used"

Git stats

Files

Failed to load latest commit information.

README.md

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.

The detailed changelog is published on GitHub.

  • 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 #157 for further information.
    • 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 .
    • 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
    • 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
    • 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
    • ModuleFinder : add support for the pkg_resources.extern.VendorImporter loader
    • New hooks for pkg_resources and infi
    • 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
    • New hook for pycryptodomex
    • ModuleFinder : respect excludes list in import_package
    • Updated hook for matplotlib >= 3.4.0
    • New hook for supporting matplotlib 3.2 and higher.
    • Fix for including implicit namespace packages as per PEP420.
    • 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
    • New hooks for pycryptodome and shapely .
    • 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.

    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.

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

    Further informations about the original development of py2exe and other usage guidelines can be found in the original README.

    About

    Create standalone Windows programs from Python code

    Источник

    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.

    • 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.
      • 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 .
      • 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
      • 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
      • 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
      • ModuleFinder : add support for the pkg_resources.extern.VendorImporter loader
      • New hooks for pkg_resources and infi
      • 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
      • New hook for pycryptodomex
      • ModuleFinder : respect excludes list in import_package
      • Updated hook for matplotlib >= 3.4.0
      • New hook for supporting matplotlib 3.2 and higher.
      • Fix for including implicit namespace packages as per PEP420.
      • 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
      • New hooks for pycryptodome and shapely .
      • 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

      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.

      Источник

      py2exe

      py2exe is a Python Distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python installation.

      Development is hosted on GitHub. You can find the mailing list, svn, and downloads for Python 2 there. Downloads for Python 3 are on PyPI.

      py2exe was originally developed by Thomas Heller who still makes contributions. Jimmy Retzlaff, Mark Hammond, and Alberto Sottile have also made contributions. Code contributions are always welcome from the community and many people provide invaluable help on the mailing list and the Wiki.

      py2exe is used by BitTorrent, SpamBayes, and thousands more — py2exe averages over 5,000 downloads per month.

      In an effort to limit Wiki spam, this front page is not editable. Feel free to edit other pages with content relevant to py2exe. You will need an account to edit (but not to read) and your account information will be used only for the purposes of administering this Wiki.

      The old py2exe web site is still available until that information has found its way into this wiki.

      Starting Points

      • Download py2exe for Python 2 from SourceForge
      • Download py2exe for Python 3 from PyPI
      • News: information about the most recent releases
      • Tutorial: the basics of creating a Windows executable
      • FAQ: What does py2exe actually do and what are all those files?
      • GeneralTipsAndTricks: general tips for working with special situations
      • WorkingWithVariousPackagesAndModules: many just work, others need more handling
      • ProblemsToBeFixed
      • TroubleshootingImportErrors
      • ReleaseProcess
      • NonEnglish: read about py2exe in other languages
      • Get help on the mailing list
      • #py2exe IRC channel at Freenode.net

      How to use this site

      • Edit any page by pressing Правка at the top or the bottom of the page
      • Create a link to another page with joined capitalized words (like WikiSandBox) or with [[words in brackets]]
      • Search for page titles or text within pages using the search box at the top of any page
      • See HelpForBeginners to get you going, HelpContents for all help pages.

      To learn more about what a WikiWikiWeb is, read about WhyWikiWorks and the WikiNature.

      FrontPage (последним исправлял пользователь albertosottile 2020-10-27 22:20:58)

      Источник

      Читайте также:  Css media print width
Оцените статью