Commit 79b5ed53 by James Cammarata

Merge branch 'patch-1' of https://github.com/eggsby/ansible into eggsby-patch-1

parents 0cfaabf9 4310fc26
......@@ -10,10 +10,11 @@ from distutils.core import setup
# find library modules
from ansible.constants import DEFAULT_MODULE_PATH
install_path = DEFAULT_MODULE_PATH.split(os.pathsep)[0]
dirs=os.listdir("./library/")
data_files = []
for i in dirs:
data_files.append((os.path.join(DEFAULT_MODULE_PATH, i), glob('./library/' + i + '/*')))
data_files.append((os.path.join(install_path, i), glob('./library/' + i + '/*')))
setup(name='ansible',
version=__version__,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment