From 2223cbde2791e947f6a14642ccee622606f439a5 Mon Sep 17 00:00:00 2001 From: miro Date: Wed, 11 Sep 2024 01:39:32 +0100 Subject: [PATCH] fix:setup_readme_abs_path --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ce20c37..a420862 100644 --- a/setup.py +++ b/setup.py @@ -27,9 +27,13 @@ def find_resource_files(): '*')) return package_data -with open("README.md", "r") as f: + +BASEDIR = os.path.abspath(os.path.dirname(__file__)) + +with open(os.path.join(BASEDIR, "README.md"), "r") as f: long_description = f.read() + def get_version(): """ Find the version of this skill""" version_file = os.path.join(os.path.dirname(__file__), 'version.py')