Skip to content

Commit

Permalink
commit 290ecfcdc2fa6dcbee8328130c85916fdebd5152
Browse files Browse the repository at this point in the history
Author: Ton Kersten <[email protected]>
Date:   Mon Apr 29 10:44:30 2013 +0200

    Fixed the installation of library directories

    When running install the `setup.py` give error

    changing mode of /usr/bin/ansible-doc to 755
    running install_data
    error: can't copy './library/utilities': doesn't exist or not a regular file
    make: *** [install] Error 1

    Debugging 'benno' came up with this patch, which works on CentOS 6.4 and
    on Ubuntu.
  • Loading branch information
tonk committed Apr 29, 2013
1 parent 7117ca5 commit 17586ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@

# 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

Expand Down

0 comments on commit 17586ba

Please sign in to comment.