1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
Ton Kersten 2013-09-23 14:34:27 +02:00
parent 0476272c79
commit 0c2af5d5ec

View file

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