setup.py: fix apol icons installation.

This commit is contained in:
Chris PeBenito 2015-06-26 14:14:01 -04:00
parent 6cbce7a503
commit 9b28cbe3c7

View File

@ -142,7 +142,8 @@ setup(name='setools',
'build_ext': BuildExtCommand},
packages=['setools', 'setools.policyrep', 'setoolsgui', 'setoolsgui.apol'],
scripts=['apol', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'],
data_files=[(join(sys.prefix, 'share/setools'), glob.glob("data/*"))],
data_files=[(join(sys.prefix, 'share/setools'), glob.glob("data/*.ui") + ["data/perm_map"] ),
(join(sys.prefix, 'share/setools/icons'), glob.glob("data/icons/*.png"))],
ext_modules=ext_py_mods,
test_suite='tests',
license='GPLv2+, LGPLv2.1+',