mirror of https://github.com/OISF/suricata
suricatasc: move into python/
Will be built and installed as part of the Python code used for suricatactl, which is intended to be the generic place for all Python utility code that gets installed with Suricata. No change to suricatasc code.pull/3317/head
parent
7f0cfc0717
commit
a7d90162d1
@ -1,3 +1,7 @@
|
||||
*.pyc
|
||||
.cache
|
||||
build
|
||||
lib/
|
||||
scripts-*/
|
||||
bin/suricatasc
|
||||
!bin/suricatasc.in
|
||||
|
@ -1 +0,0 @@
|
||||
SUBDIRS=suricatasc
|
@ -1,19 +0,0 @@
|
||||
EXTRA_DIST = setup.py suricatasc.in src/__init__.py src/suricatasc.py
|
||||
|
||||
if HAVE_PYTHON
|
||||
all-local:
|
||||
mkdir -p $(top_builddir)/scripts/suricatasc/src
|
||||
$(HAVE_PYTHON) $(srcdir)/setup.py build;
|
||||
|
||||
install-exec-local:
|
||||
$(HAVE_PYTHON) $(srcdir)/setup.py install --prefix $(DESTDIR)$(prefix)
|
||||
|
||||
clean-local:
|
||||
$(HAVE_PYTHON) $(srcdir)/setup.py clean;
|
||||
rm -rf $(top_builddir)/scripts/suricatasc/build
|
||||
|
||||
uninstall-local:
|
||||
[ ! -f "$(DESTDIR)$(prefix)/bin/suricatasc" ] || rm -f "$(DESTDIR)$(prefix)/bin/suricatasc"
|
||||
find "$(DESTDIR)$(prefix)/lib" -name "suricatasc-*.egg-info" -print0 | xargs -0 rm -f ||true
|
||||
|
||||
endif
|
@ -1,26 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
from distutils.core import setup
|
||||
|
||||
SURICATASC_VERSION = "0.9"
|
||||
|
||||
setup(name='suricatasc',
|
||||
version=SURICATASC_VERSION,
|
||||
description='Suricata unix socket client',
|
||||
author='Eric Leblond',
|
||||
author_email='eric@regit.org',
|
||||
url='https://www.suricata-ids.org/',
|
||||
scripts=['suricatasc'],
|
||||
packages=['suricatasc'],
|
||||
package_dir={'suricatasc':'src'},
|
||||
provides=['suricatasc'],
|
||||
requires=['argparse','simplejson'],
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Console',
|
||||
'Intended Audience :: System Administrators',
|
||||
'License :: OSI Approved :: GNU General Public License (GPL)',
|
||||
'Operating System :: POSIX',
|
||||
'Programming Language :: Python',
|
||||
'Topic :: System :: Systems Administration',
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue