From 070ee124db325e12766de1bd775064f189649d62 Mon Sep 17 00:00:00 2001 From: Matthew Welch Date: Thu, 2 Apr 2020 19:53:52 -0700 Subject: [PATCH] added package name to output --- main.py | 1 + test.html | 1 + 2 files changed, 2 insertions(+) diff --git a/main.py b/main.py index 5fe2035..9c27cf0 100644 --- a/main.py +++ b/main.py @@ -11,6 +11,7 @@ def package(package_name, template): print(test_template.render( version=info["info"]["version"], + name=info["info"]["name"], summary=info["info"]["summary"], home_page=info["info"]["home_page"], sha256=info["releases"][info["info"]["version"]][0]["digests"]["sha256"])) diff --git a/test.html b/test.html index 241b67c..33a3539 100644 --- a/test.html +++ b/test.html @@ -6,6 +6,7 @@ {{ version }} +{{ name }} {{ summary }} {{ home_page }} {{ sha256 }}