From 0c2af5d5ecde5935154e06a673add00c8da99ecd Mon Sep 17 00:00:00 2001 From: Ton Kersten Date: Mon, 23 Sep 2013 14:34:27 +0200 Subject: [PATCH] Fix the install destination, now with os.path.join --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 305aa640aa..c503c7cf13 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from ansible.constants import DEFAULT_MODULE_PATH dirs=os.listdir("./library/") data_files = [] for i in dirs: - data_files.append((DEFAULT_MODULE_PATH + '/' + i, glob('./library/' + i + '/*'))) + data_files.append((os.path.join(DEFAULT_MODULE_PATH, i), glob('./library/' + i + '/*'))) setup(name='ansible', version=__version__,