Merge pull request #2804 from tonk/devel
Fixed the installation of library directories
This commit is contained in:
commit
c15d52cc07
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
@ -10,7 +10,10 @@ from distutils.core import setup
|
|||
|
||||
# find library modules
|
||||
from ansible.constants import DIST_MODULE_PATH
|
||||
data_files = [ (DIST_MODULE_PATH, glob('./library/*')) ]
|
||||
dirs=os.listdir("./library/")
|
||||
data_files = []
|
||||
for i in dirs:
|
||||
data_files.append((DIST_MODULE_PATH + i, glob('./library/' + i + '/*')))
|
||||
|
||||
print "DATA FILES=%s" % data_files
|
||||
|
||||
|
|
Loading…
Reference in a new issue