We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd0dd86 commit cf1fec2Copy full SHA for cf1fec2
setup.py
@@ -1,14 +1,14 @@
1
"""Setup script for realpython-reader"""
2
3
-import pathlib
+import os.path
4
from setuptools import setup
5
6
# The directory containing this file
7
-HERE = pathlib.Path(__file__).parent
+HERE = os.path.abspath(os.path.dirname(__file__))
8
9
# The text of the README file
10
-README = (HERE / "README.md").read_text()
11
-
+with open(os.path.join(HERE, "README.md")) as fid:
+ README = fid.read()
12
13
# This call to setup() does all the work
14
setup(
0 commit comments