Files
cowrie/setup.py
Michel Oosterhof bf55a591bf Devops (#1811)
* update gh actions versions
* update docker build/pub
* docker workflow update
* also update latest docker tag
* ruff has taken over from flake8
2023-01-30 17:51:20 +08:00

27 lines
642 B
Python
Executable File

#!/usr/bin/env python
from setuptools import setup
try:
import twisted
except ImportError:
raise SystemExit("twisted not found. Make sure you "
"have installed the Twisted core package.")
setup(
packages=["cowrie", "twisted"],
include_package_data=True,
package_dir={"": "src"},
package_data={"": ["*.md"]},
use_incremental=True,
scripts=["bin/fsctl", "bin/asciinema", "bin/cowrie", "bin/createfs", "bin/playlog"],
setup_requires=["incremental", "click"],
)
import sys
def refresh_plugin_cache():
from twisted.plugin import IPlugin, getPlugins
list(getPlugins(IPlugin))