From e8b4b9db3ab9a09fa51853499357bc8099f634ea Mon Sep 17 00:00:00 2001 From: Matthew Welch Date: Thu, 2 Apr 2020 19:59:46 -0700 Subject: [PATCH] added license --- main.py | 3 ++- test.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 9c27cf0..68d2c58 100644 --- a/main.py +++ b/main.py @@ -14,7 +14,8 @@ def package(package_name, template): name=info["info"]["name"], summary=info["info"]["summary"], home_page=info["info"]["home_page"], - sha256=info["releases"][info["info"]["version"]][0]["digests"]["sha256"])) + sha256=info["releases"][info["info"]["version"]][0]["digests"]["sha256"], + license=info["info"]["license"])) if __name__ == "__main__": diff --git a/test.html b/test.html index 33a3539..80b81c3 100644 --- a/test.html +++ b/test.html @@ -10,5 +10,6 @@ {{ summary }} {{ home_page }} {{ sha256 }} +{{ license }} \ No newline at end of file