Browse code

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

James Cammarata authored on 2014/02/18 05:39:28
Showing 1 changed files
... ...
@@ -10,10 +10,11 @@ from distutils.core import setup
10 10
 
11 11
 # find library modules
12 12
 from ansible.constants import DEFAULT_MODULE_PATH
13
+install_path = DEFAULT_MODULE_PATH.split(os.pathsep)[0]
13 14
 dirs=os.listdir("./library/")
14 15
 data_files = []
15 16
 for i in dirs:
16
-    data_files.append((os.path.join(DEFAULT_MODULE_PATH, i), glob('./library/' + i + '/*')))
17
+    data_files.append((os.path.join(install_path, i), glob('./library/' + i + '/*')))
17 18
 
18 19
 setup(name='ansible',
19 20
       version=__version__,