mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-06 01:05:11 +00:00
utils: fix python install for rule/ subdirectory
For reasons that are unclear, 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@nxnw.org> Acked-by: Tyler Hicks <tyhicks@canonical.com>
This commit is contained in:
@@ -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']
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user