first steps towards package

This commit is contained in:
Michel Oosterhof 2018-02-04 18:43:42 +00:00
parent 05c1f8a7f4
commit 9e903fae99
2 changed files with 54 additions and 0 deletions

5
MANIFEST.in Normal file
View File

@ -0,0 +1,5 @@
include cowrie.cfg.dist
include *.md
recursive-include data *
recursive-include txtcmds *
recursive-include honeyfs *

49
setup.py Executable file
View File

@ -0,0 +1,49 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
setup (
name = "Cowrie",
version = "1.0",
description = "Cowrie SSH/Telnet Honeypot.",
maintainer = "Michel Oosterhof",
maintainer_email = "michel@oosterhof.net",
keywords = "ssh telnet honeypot",
url = "https://github.com/micheloosterhof/cowrie",
packages = find_packages(),
include_package_data=True,
package_data = { '': ['*.md'] },
scripts = ["bin/fsctl",
"bin/asciinema",
"bin/cowrie",
"bin/createfs",
"bin/playlog"],
install_requires = ["twisted>=17.1.0",
"cryptography>=0.9.1",
"configparser",
"pyopenssl",
"pyparsing",
"packaging",
"appdirs>=1.4.0",
"python-pyasn1",
"python-gmpy2",
"python-mysqldb",
"klein>=15.0.0",
"treq>=15.0.0",
"python-dateutil",
"service_identity>=14.0.0"],
entry_points = {'console_scripts':
['run-the-app = deployme:main']},
extras_require = { 'csirtg': ["csirtgsdk>=0.0.0a17"],
'dshield': ["requests"],
'elasticsearch': ["pyes"],
'mysql': ["mysqlclient"],
'mongodb': ["pymongo"],
'rethinkdblog': ["rethinkdb"],
's3': ["botocore"],
'slack': ["slackclient"],
'splunklegacy': ["splunk-sdk"],
'influxdb': ["influxdb"]}
)