Fix the install destination, now with os.path.join

pull/4204/head
Ton Kersten 11 years ago
parent 0476272c79
commit 0c2af5d5ec

@ -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__,

Loading…
Cancel
Save