diff --git a/setup.py b/setup.py index 305aa640aaf..c503c7cf132 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__,