diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-01-28 21:10:39 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-01-28 21:10:39 +0000 |
| commit | e9aacf78d23b576422db955ffdacbb0381c363f0 (patch) | |
| tree | dc0d141708a9c5757e3e4d59cf3618fcfbe704ba | |
| parent | baebf75373301337ca8217e778d50b1d3d130f30 (diff) | |
Ensure paths from path_in_dir are absolute
| -rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ except ImportError: from urllib.request import urlretrieve def path_in_dir(relative_path): - return os.path.join(os.path.dirname(__file__), relative_path) + return os.path.abspath(os.path.join(os.path.dirname(__file__), relative_path)) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() |
