diff options
author | Jimmy Girardet <ijkl@netc.fr> | 2020-06-27 23:08:15 +0200 |
---|---|---|
committer | Jimmy Girardet <ijkl@netc.fr> | 2020-07-13 11:12:45 +0000 |
commit | 8b9ab12aa6b4f3c5e1e02529895770d63ae10b1b (patch) | |
tree | 35c5630248ea65ba41e28c88ef03965dc5f0221f /sources/pyside2/doc/deployment.rst | |
parent | 7211180820d76814c7060d39d7ce0e9902865e14 (diff) |
Doc: add briefcase deployment doc
Change-Id: Id0d896330dabee3b5b01aea70f1f15a30797d466
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/doc/deployment.rst')
-rw-r--r-- | sources/pyside2/doc/deployment.rst | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sources/pyside2/doc/deployment.rst b/sources/pyside2/doc/deployment.rst index 78d6058da..414a468ed 100644 --- a/sources/pyside2/doc/deployment.rst +++ b/sources/pyside2/doc/deployment.rst @@ -12,6 +12,7 @@ Here are a few distribution options that you can use: 1. Send a normal ZIP file with the application's content. 2. Build a proper `Python package (wheel) <https://packaging.python.org/>`_. 3. Freeze the application into a single binary file or directory. + 4. Provide native installer (msi, dmg) If you choose Option 3, consider using one of these tools: * `fbs`_ @@ -19,12 +20,14 @@ If you choose Option 3, consider using one of these tools: * `cx_Freeze`_ * `py2exe`_ * `py2app`_ + * `briefcase`_ .. _fbs: https://build-system.fman.io/ .. _PyInstaller: https://www.pyinstaller.org/ .. _cx_Freeze: https://anthony-tuininga.github.io/cx_Freeze/ .. _py2exe: http://www.py2exe.org/ .. _py2app: https://py2app.readthedocs.io/en/latest/ +.. _briefcase: https://briefcase.readthedocs.io Since |project| is a cross-platform framework, we focus on solutions for the three major platforms that Qt supports: Windows, Linux, and macOS. @@ -79,10 +82,17 @@ The following table summarizes the platform support for those packaging tools: <td><p style="color: green;">yes</p></td> <td><p style="color: red;">no</p></td> </tr> + <tr> + <td><p>briefcase</p></td> + <td><p>BSD3</p></td> + <td><p style="color: green;">yes</p></td> + <td><p style="color: green;">yes</p></td> + <td><p style="color: green;">yes</p></td> + </tr> </tbody> </table> -Notice that only *fbs*, *cx_Freeze*, and *PyInstaller* meet our cross-platform requirement. +Notice that only *fbs*, *cx_Freeze*, *briefcase*, and *PyInstaller* meet our cross-platform requirement. Since these are command-line tools, you'll need special hooks or scripts to handle resources such as images, icons, and meta-information, before adding them to your package. Additionally, @@ -107,3 +117,4 @@ Here's a set of tutorials on how to use these tools: deployment-fbs.rst deployment-pyinstaller.rst deployment-cxfreeze.rst + deployment-briefcase.rst |