suricatasc: move lib to suricata.sc

Pull the sc python package under the suricata top level
package. A suricatasc package still exists for compatibility
that pulls in suricata.sc.
pull/3317/head
Jason Ish 8 years ago committed by Victor Julien
parent 4a115f4d56
commit 43617dc11f

@ -36,7 +36,7 @@ else:
if os.path.exists(path):
sys.path.insert(0, os.path.dirname(path))
from suricatasc import *
from suricata.sc import *
parser = argparse.ArgumentParser(prog='suricatasc', description='Client for Suricata unix socket')
parser.add_argument('-v', '--verbose', action='store_const', const=True, help='verbose output (including JSON dump)')

@ -29,6 +29,7 @@ setup(
packages=[
"suricata",
"suricata.ctl",
"suricata.sc",
"suricatasc",
],
scripts=[

@ -0,0 +1 @@
from suricata.sc.suricatasc import *

@ -1,2 +1 @@
from suricatasc import *
from suricata.sc import *

Loading…
Cancel
Save