Skip to content

Commit b9c36ff

Browse files
authored
Updated to use full paths in setup.py (#1259)
* Uses full path in `setup.py` instead of relative one
1 parent f899306 commit b9c36ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
"docs": ["sphinx", "sphinx-gallery", "sphinx_bootstrap_theme", "numpydoc"],
4545
}
4646

47-
with open("autosklearn/__version__.py") as fh:
47+
with open(os.path.join(HERE, 'autosklearn', '__version__.py')) as fh:
4848
version = fh.readlines()[-1].split()[-1].strip("\"'")
4949

5050

51-
with open('README.md') as fh:
51+
with open(os.path.join(HERE, 'README.md')) as fh:
5252
long_description = fh.read()
5353

5454

0 commit comments

Comments
 (0)