Skip to content

Commit 5e1ed7d

Browse files
committed
fix:setuppy_readme_path
1 parent b8222b8 commit 5e1ed7d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ def find_resource_files():
2828
return package_data
2929

3030

31-
with open("README.md", "r") as f:
31+
BASEDIR = os.path.abspath(os.path.dirname(__file__))
32+
33+
with open(os.path.join(BASEDIR, "README.md"), "r") as f:
3234
long_description = f.read()
3335

3436

0 commit comments

Comments
 (0)