Skip to content

Commit

Permalink
fix:setup_readme_abs_path
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Sep 11, 2024
1 parent 6b11ea2 commit 2223cbd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 2223cbd

Please sign in to comment.