Lines Matching +full:python +full:- +full:format
5 __author__ = "Steve Dower <steve.dower@python.org>"
24 Name="PythonSoftwareFoundation.Python.{}".format(VER_DOT),
25 Version="{}.{}.{}.0".format(VER_MAJOR, VER_MINOR, VER_FIELD3),
27 "APPX_DATA_PUBLISHER", "CN=4975D53F-AA7E-49A5-8B49-EA4FDC1BB66B"
29 DisplayName="Python {}".format(VER_DOT),
30 Description="The Python {} runtime and console.".format(VER_DOT),
42 DisplayName="Python {}".format(VER_DOT),
43 Description="Python interactive console",
50 DisplayName="Python {} (Windowed)".format(VER_DOT),
51 Description="Python windowed app launcher",
59 DisplayName="pip (Python {})".format(VER_DOT),
60 Description="pip package manager for Python {}".format(VER_DOT),
68 DisplayName="IDLE (Python {})".format(VER_DOT),
69 Description="IDLE editor for Python {}".format(VER_DOT),
90 APPXMANIFEST_TEMPLATE = """<?xml version="1.0" encoding="utf-8"?>
104 <PublisherDisplayName>Python Software Foundation</PublisherDisplayName>
109 <Resource Language="en-US" />
124 RESOURCES_XML_TEMPLATE = r"""<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
125 <!--This file is input for makepri.exe. It should be excluded from the final package.-->
134 <qualifier name="Language" value="en-US"/>
147 …<indexer-config type="folder" foldernameAsQualifier="true" filenameAsQualifier="true" qualifierDel…
148 <indexer-config type="resw" convertDotsToSlashes="true" initialPath=""/>
149 <indexer-config type="resjson" initialPath=""/>
150 <indexer-config type="PRI"/>
160 "HKCU\\Software\\Python\\PythonCore": {
163 "SupportUrl": "https://www.python.org/",
166 "Version": "{}.{}.{}".format(VER_MAJOR, VER_MINOR, VER_MICRO),
169 "ExecutablePath": "[{{AppVPackageRoot}}]\\python{}.exe".format(VER_DOT),
170 "WindowedExecutablePath": "[{{AppVPackageRoot}}]\\pythonw{}.exe".format(
175 "Main Python Documentation": {
177 "": "[{{AppVPackageRoot}}]\\Doc\\{}".format(PYTHON_CHM_NAME),
179 "Local Python Documentation": {
183 "Online Python Documentation": {
184 "": "https://docs.python.org/{}".format(VER_DOT)
243 xml.write(f, encoding="utf-8")
254 q += "[@{}='{}']".format(*attr)
268 "m:Applications/m:Application[@Id='{}']".format(appid), APPXMANIFEST_NS
426 "MaxVersionTested", "{}.{}.{}.{}".format(*(winver + (0, 0, 0, 0)[:4]))
429 # Only for Python 3.11 and later. Older versions do not disable virtualization
436 "Python",
437 "python{}".format(VER_DOT),
438 ["python", "python{}".format(VER_MAJOR), "python{}".format(VER_DOT)],
441 ("python.file", [".py"], '"%1" %*', "Python File", PY_PNG),
448 "pythonw{}".format(VER_DOT),
449 ["pythonw", "pythonw{}".format(VER_MAJOR), "pythonw{}".format(VER_DOT)],
452 ("python.windowedfile", [".pyw"], '"%1" %*', "Python File (no console)", PY_PNG),
460 "pip{}".format(VER_DOT),
461 ["pip", "pip{}".format(VER_MAJOR), "pip{}".format(VER_DOT)],
464 ("python.wheel", [".whl"], 'install "%1"', "Python Wheel"),
472 "idle{}".format(VER_DOT),
473 ["idle", "idle{}".format(VER_MAJOR), "idle{}".format(VER_DOT)],
486 xml.write(buffer, encoding="utf-8", xml_declaration=True)
491 return RESOURCES_XML_TEMPLATE.encode("utf-8")
502 src = icons / "pythonx{}.png".format(px)
504 yield f"_resources/pythonx{px}$targetsize-{px}_altform-unplated.png", src
506 src = icons / "pythonwx{}.png".format(px)
508 yield f"_resources/pythonwx{px}$targetsize-{px}_altform-unplated.png", src
511 src = icons / "idlex{}.png".format(px)
513 yield f"_resources/idlex{px}$targetsize-{px}_altform-unplated.png", src
517 # This should only be set for side-loading purposes.