diff --git a/Misc/NEWS.d/next/Windows/2020-02-25-18-43-34.bpo-34803.S3VcS0.rst b/Misc/NEWS.d/next/Windows/2020-02-25-18-43-34.bpo-34803.S3VcS0.rst
new file mode 100644
index 00000000000..144ffd50af0
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2020-02-25-18-43-34.bpo-34803.S3VcS0.rst
@@ -0,0 +1,2 @@
+Package for nuget.org now includes repository reference and bundled icon
+image.
diff --git a/PC/icons/logo.svg b/PC/icons/logo.svg
new file mode 100644
index 00000000000..6f521503a38
--- /dev/null
+++ b/PC/icons/logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/PC/icons/logox128.png b/PC/icons/logox128.png
new file mode 100644
index 00000000000..d2655c72e7d
Binary files /dev/null and b/PC/icons/logox128.png differ
diff --git a/PC/layout/support/nuspec.py b/PC/layout/support/nuspec.py
index b85095c555f..9c6a9a91595 100644
--- a/PC/layout/support/nuspec.py
+++ b/PC/layout/support/nuspec.py
@@ -3,6 +3,7 @@ Provides .props file.
"""
import os
+import sys
from .constants import *
@@ -14,6 +15,7 @@ NUSPEC_DATA = {
"PYTHON_TAG": VER_DOT,
"PYTHON_VERSION": os.getenv("PYTHON_NUSPEC_VERSION"),
"FILELIST": r' ',
+ "GIT": sys._git,
}
NUSPEC_PLATFORM_DATA = dict(
@@ -42,10 +44,13 @@ NUSPEC_TEMPLATE = r"""
tools\LICENSE.txt
https://www.python.org/
Installs {PYTHON_BITNESS} Python for use in build scenarios.
+ images\logox128.png
https://www.python.org/static/favicon.ico
python
+
+
{FILELIST}
@@ -68,5 +73,6 @@ def get_nuspec_layout(ns):
data[k] = v
if ns.include_all or ns.include_props:
data["FILELIST"] = FILELIST_WITH_PROPS
+ data["LOGO"] = ns.source / "PC" / "icons" / "logox128.png"
nuspec = NUSPEC_TEMPLATE.format_map(data)
yield "python.nuspec", ("python.nuspec", nuspec.encode("utf-8"))