Skip to content

Commit 4378568

Browse files
committed
Convert path to str before open to fix install with Python 3.5 (should fix Travis build)
1 parent a39c78f commit 4378568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
else:
3333
pyspice_path = pyspice_path.parent
3434
init_path = pyspice_path.joinpath('PySpice', '__init__.py')
35-
with open(init_path) as fh:
35+
with open(str(init_path)) as fh:
3636
try:
3737
version = re.findall(r"^__version__ = '([^']+)'\r?$", fh.read(), re.M)[0]
3838
except IndexError:

0 commit comments

Comments
 (0)