diff options
| author | Brett Cannon <brett@python.org> | 2015-03-13 10:40:49 -0400 |
|---|---|---|
| committer | Brett Cannon <brett@python.org> | 2015-03-13 10:40:49 -0400 |
| commit | cc4dfc1b75e68863781beae49fc8cac5982c1c25 (patch) | |
| tree | fcc63e3a9edc2d2777a9a8b681386c02c382d0d3 /Doc/whatsnew | |
| parent | ff2a661ef0b660588523d5cd3764c377d7078c63 (diff) | |
| download | cpython-git-cc4dfc1b75e68863781beae49fc8cac5982c1c25.tar.gz | |
Issue #23491: Implement PEP 441: Improving Python Zip Application Support
Thanks to Paul Moore for the PEP and implementation.
Diffstat (limited to 'Doc/whatsnew')
| -rw-r--r-- | Doc/whatsnew/3.5.rst | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 17be2a2af1..2f7984812e 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -71,7 +71,8 @@ New syntax features: New library modules: -* None yet. +* :mod:`zipapp`: :ref:`Improving Python ZIP Application Support + <whatsnew-zipapp>` (:pep:`441`). New built-in features: @@ -166,10 +167,22 @@ Some smaller changes made to the core Python language are: New Modules =========== -.. module name -.. ----------- +.. _whatsnew-zipapp: -* None yet. +zipapp +------ + +The new :mod:`zipapp` module (specified in :pep:`441`) provides an API and +command line tool for creating executable Python Zip Applications, which +were introduced in Python 2.6 in :issue:`1739468` but which were not well +publicised, either at the time or since. + +With the new module, bundling your application is as simple as putting all +the files, including a ``__main__.py`` file, into a directory ``myapp`` +and running:: + + $ python -m zipapp myapp + $ python myapp.pyz Improved Modules |
