added license

This commit is contained in:
Matthew Welch 2020-04-02 19:59:46 -07:00
parent 070ee124db
commit e8b4b9db3a
2 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,8 @@ def package(package_name, template):
name=info["info"]["name"], name=info["info"]["name"],
summary=info["info"]["summary"], summary=info["info"]["summary"],
home_page=info["info"]["home_page"], 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__": if __name__ == "__main__":

View File

@ -10,5 +10,6 @@
{{ summary }} {{ summary }}
{{ home_page }} {{ home_page }}
{{ sha256 }} {{ sha256 }}
{{ license }}
</body> </body>
</html> </html>