From e9aacf78d23b576422db955ffdacbb0381c363f0 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 28 Jan 2016 21:10:39 +0000 Subject: Ensure paths from path_in_dir are absolute --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') 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() -- cgit v1.2.3