Skip to content

Commit ebd3ce3

Browse files
Update setup.py
1 parent 8a4f8b9 commit ebd3ce3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
import os
12
from setuptools import setup, find_packages
2-
from pathlib import Path
33

4-
this_directory = Path(__file__).parent
5-
long_description = (this_directory / "README.md").read_text()
4+
ROOT = os.path.abspath(os.path.dirname(__file__))
5+
with open(os.path.join(ROOT, 'README.md'), encoding="utf-8") as f:
6+
long_description = f.read()
67

78
setup(
89
name='adapt',

0 commit comments

Comments
 (0)