[apparmor] [patch] utils: fix python install for rule/ subdirectory
Steve Beattie
steve at nxnw.org
Tue Jan 13 19:33:10 UTC 2015
utils: fix python install for rule/ subdirectory
For reasons that are unclear to me, python's setuptools doesn't
install recursively from a directory, meaning that on make install,
the new Rules/Ruleset classes were not being installed. This patch
causes the rule subdirectory to be included.
Bug: https://bugs.launchpad.net/bugs/1407437
Signed-off-by: Steve Beattie <steve at nxnw.org>
---
utils/python-tools-setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/utils/python-tools-setup.py
===================================================================
--- a/utils/python-tools-setup.py
+++ b/utils/python-tools-setup.py
@@ -81,7 +81,7 @@ setup (name='apparmor',
license='GPL-2',
cmdclass={'install': Install},
package_dir={'apparmor': 'staging'},
- packages=['apparmor'],
+ packages=['apparmor', 'apparmor.rule'],
py_modules=['apparmor.easyprof']
)
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150113/8c182e68/attachment.pgp>
More information about the AppArmor
mailing list