From 48ba0c14ed13a3ce41c4ddd1d241ddf4564d0060 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 31 May 2015 18:44:12 +0200 Subject: [PATCH] Update setup.py Don't use `+ '/' +` but `os.path.join` instead --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3f796e04..159bc599 100644 --- a/setup.py +++ b/setup.py @@ -29,8 +29,8 @@ except ImportError: def file_list(path): files = [] for filename in os.listdir(path): - if os.path.isfile(path+'/'+filename): - files.append(path+'/'+filename) + if os.path.isfile(os.path.join(path, filename)): + files.append(os.path.join(path, filename)) return files system = platform.system()