From a296736c42fbeed544b786ef925ab47cf89adff5 Mon Sep 17 00:00:00 2001 From: Stephanie Brink Date: Fri, 20 May 2022 15:33:17 -0700 Subject: [PATCH] update setup.py with package metadata --- setup.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index c296fe7c..2538d577 100644 --- a/setup.py +++ b/setup.py @@ -10,9 +10,11 @@ here = path.abspath(path.dirname(__file__)) -# Get the long description from the README file -with open(path.join(here, "README.md"), encoding="utf-8") as f: - long_description = f.read() +def load_readme(): + # Get the long description from the README file + with open(path.join(here, "README.md"), encoding="utf-8") as f: + long_description = f.read() + return long_description # Get the version in a safe way which does not refrence hatchet `__init__` file # per python docs: https://packaging.python.org/guides/single-sourcing-package-version/ @@ -62,4 +64,7 @@ ["hatchet/cython_modules/graphframe_modules.c"], ), ], + long_description=load_readme(), + long_description_content_type="text/markdown", + download_url='https://pypi.org/project/llnl-hatchet/", )