Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 1 | # Overview |
| 2 | |
| 3 | NOTE: This file requires more content. |
| 4 | |
| 5 | Since Python 3.7.2, releases have been made through the Microsoft Store |
| 6 | to allow easy installation on Windows 10.0.17763.0 and later. |
| 7 | |
| 8 | # Building |
| 9 | |
| 10 | To build the store package, the PC/layout script should be used. |
| 11 | Execute the directory with the build of Python to package, and pass |
| 12 | "-h" for full command-line options. |
| 13 | |
| 14 | To sideload test builds, you will need a local certificate. |
| 15 | Instructions are available at |
| 16 | https://docs.microsoft.com/windows/uwp/packaging/create-certificate-package-signing. |
| 17 | |
| 18 | After exporting your certificate, you will need the subject name and |
| 19 | SHA256 hash. The `certutil -dump <cert file>` command will display this |
| 20 | information. |
| 21 | |
| 22 | To build for sideloading, use these commands in PowerShell: |
| 23 | |
| 24 | ``` |
| 25 | $env:APPX_DATA_PUBLISHER=<your certificate subject name> |
| 26 | $env:APPX_DATA_SHA256=<your certificate SHA256> |
| 27 | $env:SigningCertificateFile=<your certificate file> |
| 28 | |
| 29 | python PC/layout --copy <layout directory> --include-appxmanifest |
| 30 | Tools/msi/make_appx.ps1 <layout directory> python.msix -sign |
| 31 | |
| 32 | Add-AppxPackage python.msix |
| 33 | ``` |
| 34 | |
| 35 | (Note that only the last command requires PowerShell, and the others |
| 36 | can be used from Command Prompt. You can also double-click to install |
| 37 | the final package.) |
| 38 | |
| 39 | To build for publishing to the Store, use these commands: |
| 40 | |
| 41 | ``` |
| 42 | $env:APPX_DATA_PUBLISHER = $null |
| 43 | $env:APPX_DATA_SHA256 = $null |
| 44 | |
| 45 | python PC/layout --copy <layout directory> --preset-appxmanifest --precompile |
| 46 | Tools/msi/make_appx.ps1 <layout directory> python.msix |
| 47 | ``` |
| 48 | |
| 49 | Note that this package cannot be installed locally. It may only be |
| 50 | added to a submission for the store. |
| 51 | |
| 52 | |
| 53 | # Submission Metadata |
| 54 | |
| 55 | This file contains the text that we use to fill out the store listing |
| 56 | for the Microsoft Store. It needs to be entered manually when creating |
| 57 | a new submission via the dashboard at |
| 58 | https://partner.microsoft.com/dashboard. |
| 59 | |
| 60 | We keep it here for convenience and to allow it to be updated via pull |
| 61 | requests. |
| 62 | |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 63 | When submitting a new app, the HeadlessAppBypass waiver will be needed. |
| 64 | To request this, send an email to PartnerOps@microsoft.com with the app |
| 65 | ID (12 character token available from the dashboard). The waiver needs |
| 66 | to be applied *before* uploading the package (as of November 2019). |
| 67 | |
| 68 | Ensure that the new app is named "Python.3.X", where X is the minor |
| 69 | version of the release. If the name provided initially does not match |
| 70 | the name used when building the package, the upload will fail. The |
| 71 | display name shown to users can be set later. |
| 72 | |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 73 | ## Title |
| 74 | |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 75 | Python 3.9 |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 76 | |
| 77 | ## Short Title |
| 78 | |
| 79 | Python |
| 80 | |
| 81 | ## Description |
| 82 | |
| 83 | Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. |
| 84 | |
| 85 | The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python Web site, https://www.python.org/, and may be freely distributed. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation. |
| 86 | |
| 87 | The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). Python is also suitable as an extension language for customizable applications. |
| 88 | |
| 89 | ## ShortDescription |
| 90 | |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 91 | The Python 3.9 interpreter and runtime. |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 92 | |
| 93 | ## Copyright Trademark Information |
| 94 | |
| 95 | (c) Python Software Foundation |
| 96 | |
| 97 | ## Additional License Terms |
| 98 | |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 99 | Visit https://docs.python.org/3.9/license.html for latest license terms. |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 100 | |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 101 | PSF LICENSE AGREEMENT FOR PYTHON 3.9 |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 102 | |
| 103 | 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and |
| 104 | the Individual or Organization ("Licensee") accessing and otherwise using Python |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 105 | 3.9 software in source or binary form and its associated documentation. |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 106 | |
| 107 | 2. Subject to the terms and conditions of this License Agreement, PSF hereby |
| 108 | grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, |
| 109 | analyze, test, perform and/or display publicly, prepare derivative works, |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 110 | distribute, and otherwise use Python 3.9 alone or in any derivative |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 111 | version, provided, however, that PSF's License Agreement and PSF's notice of |
| 112 | copyright, i.e., "Copyright © 2001-2018 Python Software Foundation; All Rights |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 113 | Reserved" are retained in Python 3.9 alone or in any derivative version |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 114 | prepared by Licensee. |
| 115 | |
| 116 | 3. In the event Licensee prepares a derivative work that is based on or |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 117 | incorporates Python 3.9 or any part thereof, and wants to make the |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 118 | derivative work available to others as provided herein, then Licensee hereby |
| 119 | agrees to include in any such work a brief summary of the changes made to Python |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 120 | 3.9. |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 121 | |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 122 | 4. PSF is making Python 3.9 available to Licensee on an "AS IS" basis. |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 123 | PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF |
| 124 | EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR |
| 125 | WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 126 | USE OF PYTHON 3.9 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 127 | |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 128 | 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 3.9 |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 129 | FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 130 | MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 3.9, OR ANY DERIVATIVE |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 131 | THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. |
| 132 | |
| 133 | 6. This License Agreement will automatically terminate upon a material breach of |
| 134 | its terms and conditions. |
| 135 | |
| 136 | 7. Nothing in this License Agreement shall be deemed to create any relationship |
| 137 | of agency, partnership, or joint venture between PSF and Licensee. This License |
| 138 | Agreement does not grant permission to use PSF trademarks or trade name in a |
| 139 | trademark sense to endorse or promote products or services of Licensee, or any |
| 140 | third party. |
| 141 | |
Steve Dower | db7925a | 2019-11-20 08:21:14 -0800 | [diff] [blame] | 142 | 8. By copying, installing or otherwise using Python 3.9, Licensee agrees |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 143 | to be bound by the terms and conditions of this License Agreement. |
| 144 | |
| 145 | ## Features |
| 146 | |
| 147 | * Easy to install Python runtime |
| 148 | * Supported by core CPython team |
| 149 | * Find Python, Pip and Idle on PATH |
| 150 | |
| 151 | ## Search Terms |
| 152 | |
| 153 | * Python |
| 154 | * Scripting |
| 155 | * Interpreter |
| 156 | |