• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Overview
2
3NOTE: This file requires more content.
4
5Since Python 3.7.2, releases have been made through the Microsoft Store
6to allow easy installation on Windows 10.0.17763.0 and later.
7
8# Building
9
10To build the store package, the PC/layout script should be used.
11Execute the directory with the build of Python to package, and pass
12"-h" for full command-line options.
13
14To sideload test builds, you will need a local certificate.
15Instructions are available at
16https://docs.microsoft.com/windows/uwp/packaging/create-certificate-package-signing.
17
18After exporting your certificate, you will need the subject name and
19SHA256 hash. The `certutil -dump <cert file>` command will display this
20information.
21
22To 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
29python PC/layout --copy <layout directory> --include-appxmanifest
30Tools/msi/make_appx.ps1 <layout directory> python.msix -sign
31
32Add-AppxPackage python.msix
33```
34
35(Note that only the last command requires PowerShell, and the others
36can be used from Command Prompt. You can also double-click to install
37the final package.)
38
39To build for publishing to the Store, use these commands:
40
41```
42$env:APPX_DATA_PUBLISHER = $null
43$env:APPX_DATA_SHA256 = $null
44
45python PC/layout --copy <layout directory> --preset-appxmanifest --precompile
46Tools/msi/make_appx.ps1 <layout directory> python.msix
47```
48
49Note that this package cannot be installed locally. It may only be
50added to a submission for the store.
51
52
53# Submission Metadata
54
55This file contains the text that we use to fill out the store listing
56for the Microsoft Store. It needs to be entered manually when creating
57a new submission via the dashboard at
58https://partner.microsoft.com/dashboard.
59
60We keep it here for convenience and to allow it to be updated via pull
61requests.
62
63When submitting a new app, the HeadlessAppBypass waiver will be needed.
64To request this, send an email to PartnerOps@microsoft.com with the app
65ID (12 character token available from the dashboard). The waiver needs
66to be applied *before* uploading the package (as of November 2019).
67
68Ensure that the new app is named "Python.3.X", where X is the minor
69version of the release. If the name provided initially does not match
70the name used when building the package, the upload will fail. The
71display name shown to users can be set later.
72
73## Title
74
75Python 3.9
76
77## Short Title
78
79Python
80
81## Description
82
83Python 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
85The 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
87The 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
91The Python 3.9 interpreter and runtime.
92
93## Copyright Trademark Information
94
95(c) Python Software Foundation
96
97## Additional License Terms
98
99Visit https://docs.python.org/3.9/license.html for latest license terms.
100
101PSF LICENSE AGREEMENT FOR PYTHON 3.9
102
1031. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and
104   the Individual or Organization ("Licensee") accessing and otherwise using Python
105   3.9 software in source or binary form and its associated documentation.
106
1072. 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,
110   distribute, and otherwise use Python 3.9 alone or in any derivative
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
113   Reserved" are retained in Python 3.9 alone or in any derivative version
114   prepared by Licensee.
115
1163. In the event Licensee prepares a derivative work that is based on or
117   incorporates Python 3.9 or any part thereof, and wants to make the
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
120   3.9.
121
1224. PSF is making Python 3.9 available to Licensee on an "AS IS" basis.
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
126   USE OF PYTHON 3.9 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
127
1285. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 3.9
129   FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
130   MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 3.9, OR ANY DERIVATIVE
131   THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
132
1336. This License Agreement will automatically terminate upon a material breach of
134   its terms and conditions.
135
1367. 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
1428. By copying, installing or otherwise using Python 3.9, Licensee agrees
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
157