Skip to content

Commit 54da9ac

Browse files
committed
edited the setup.py
1 parent a452a2d commit 54da9ac

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
import pathlib
12
from distutils.core import setup
23
from setuptools import find_packages
34

45

5-
def readme():
6-
with open("README.md") as f:
7-
return f.read()
6+
# The directory containing this file
7+
HERE = pathlib.Path(__file__).parent
8+
9+
# The text of the README file
10+
README = (HERE / "README.md").read_text()
811

912

1013
setup(
@@ -34,7 +37,7 @@ def readme():
3437
"Programming Language :: Python :: 3.10",
3538
"Topic :: Software Development :: Libraries",
3639
],
37-
long_description=readme(),
40+
long_description=README,
3841
keywords=["python", "fintech", "peer-to-peer"],
3942
zip_safe=False,
4043
)

0 commit comments

Comments
 (0)