summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-01-28 21:10:39 +0000
committerMichael Williamson <mike@zwobble.org>2016-01-28 21:10:39 +0000
commite9aacf78d23b576422db955ffdacbb0381c363f0 (patch)
treedc0d141708a9c5757e3e4d59cf3618fcfbe704ba /setup.py
parentbaebf75373301337ca8217e778d50b1d3d130f30 (diff)
Ensure paths from path_in_dir are absolute
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 371449a..fd5c29e 100644
--- a/setup.py
+++ b/setup.py
@@ -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()