Skip to content

Commit a714ff7

Browse files
committed
Add some sections
1 parent a95d0b1 commit a714ff7

1 file changed

Lines changed: 40 additions & 1 deletion

File tree

source/discussions/deploying-python-applications.rst

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,48 @@ Application bundles
8383

8484
FIXME
8585

86-
- py2exe/py2app/PEX
8786
- wheels kinda/sorta
8887

88+
Windows
89+
-------
90+
91+
py2exe
92+
^^^^^^
93+
94+
`py2exe <https://pypi.org/project/py2exe/>`__ is a distutils extension which
95+
allows to build standalone Windows executable programs (32-bit and 64-bit)
96+
from Python scripts. Python versions included in the official development
97+
cycle are supported (from 3.6 to 3.9 included). py2exe can build console
98+
executables and windows (GUI) executables. Building windows services,
99+
and DLL/EXE COM servers might work but it is not actively supported.
100+
The distutils extension is released under the MIT-licence and Mozilla
101+
Public License 2.0.
102+
103+
Mac OS
104+
------
105+
106+
py2app
107+
^^^^^^
108+
109+
`py2app <https://pypi.org/project/py2app/>`__ is a Python setuptools
110+
command which will allow you to make standalone Mac OS X application
111+
bundles and plugins from Python scripts. Note that py2app MUST be used
112+
on OSX to build applications, it cannot create Mac applications on other
113+
platforms. py2app is released under the MIT-license.
114+
115+
Unix (including Linux and Mac OS X)
116+
-----------------------------------
117+
118+
pex
119+
^^^
120+
121+
`pex <https://pypi.org/project/pex/>`__ is a library for generating .pex
122+
(Python EXecutable) files which are executable Python environments in the
123+
spirit of virtualenvs. pex is an expansion upon the ideas outlined in PEP 441
124+
and makes the deployment of Python applications as simple as cp. pex files may
125+
even include multiple platform-specific Python distributions, meaning that a
126+
single pex file can be portable across Linux and OS X. pex is released under the
127+
Apache License 2.0.
89128

90129
Configuration management
91130
========================

0 commit comments

Comments
 (0)