mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
* update gh actions versions * update docker build/pub * docker workflow update * also update latest docker tag * ruff has taken over from flake8
27 lines
642 B
Python
Executable File
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))
|