From 1f11199a7dd00f7b824af75bea159a1fee5fe2f1 Mon Sep 17 00:00:00 2001 From: Robin Manhaeve Date: Tue, 29 Oct 2024 12:39:12 +0100 Subject: [PATCH] Update setup.py --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.py b/setup.py index 793f2b84..93c0125e 100755 --- a/setup.py +++ b/setup.py @@ -13,6 +13,10 @@ exec(fp.read(), version) version = version["version"] +from pathlib import Path +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() + if __name__ == "__main__" and len(sys.argv) == 1: from problog import setup as problog_setup @@ -60,6 +64,8 @@ def run(self): name="problog", version=version, description="ProbLog2: Probabilistic Logic Programming toolbox", + long_description=long_description, + long_description_content_type='text/markdown' url="https://dtai.cs.kuleuven.be/problog", author="ProbLog team", author_email="anton.dries@cs.kuleuven.be",