1 parent 3ecbd98 commit 4416567Copy full SHA for 4416567
1 file changed
setup.py
@@ -2,19 +2,19 @@
2
3
# To use a consistent encoding
4
from codecs import open
5
-from os import path
+from pathlib import Path
6
7
import setuptools
8
9
import versioneer
10
11
-here = path.abspath(path.dirname(__file__))
+here = Path.abspath(Path.dirname(__file__))
12
13
# Get the long description from the README file
14
-with open(path.join(here, "README.md"), encoding="utf-8") as f:
+with open(Path.join(here, "README.md"), encoding="utf-8") as f:
15
long_description = f.read()
16
17
-with open(path.join(here, "requirements.txt")) as f:
+with open(Path.join(here, "requirements.txt")) as f:
18
requirements = f.read().splitlines()
19
20
setuptools.setup(
0 commit comments