Skip to content

Commit 7afe884

Browse files
committed
Fixing big
1 parent 2d84308 commit 7afe884

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22

33
import os
4+
import pathlib
45

5-
import pip
66
from six import iteritems
77

88
from setuptools import setup
@@ -24,10 +24,10 @@ def install_microlibs(sources, develop=False):
2424
""" Use pip to install all microlibraries. """
2525
print("installing all microlibs in {} mode".format(
2626
"development" if develop else "normal"))
27-
wd = os.getcwd()
27+
wd = pathlib.Path.cwd()
2828
for k, v in iteritems(sources):
2929
try:
30-
microlib_dir = os.path.join(wd, v)
30+
microlib_dir = wd.joinpath(v)
3131
if develop:
3232
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-e', '.'], cwd=microlib_dir)
3333
else:

0 commit comments

Comments
 (0)