summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJames Cammarata <jcammarata@ansibleworks.com>2014-02-17 14:39:28 -0600
committerJames Cammarata <jcammarata@ansibleworks.com>2014-02-17 14:39:28 -0600
commit79b5ed5331ca4e3599dd634c9995addd66b3ac37 (patch)
tree794f81def59031bc73312316daa0c3cd4aa8a2b1 /setup.py
parent0cfaabf9cbb5690e7e96979f78fc0becc3ec884a (diff)
parent4310fc260bc444d4d98642e4da504bb502427e8d (diff)
downloadansible-79b5ed5331ca4e3599dd634c9995addd66b3ac37.tar.gz
Merge branch 'patch-1' of https://github.com/eggsby/ansible into eggsby-patch-1
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index d7423a3f11..ca170b27e7 100644
--- a/setup.py
+++ b/setup.py
@@ -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__,