scripts can now be run, and pip install -e works (#1927)

This commit is contained in:
Michel Oosterhof 2023-09-12 11:58:00 +08:00 committed by GitHub
parent ef9b118b04
commit 1e42b907f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 10 deletions

View File

@ -43,10 +43,10 @@ homepage = "https://www.cowrie.org/"
repository = "https://github.com/cowrie/cowrie"
[project.scripts]
fsctl = "src/cowrie/scripts/fsctl:run"
asciinema = "src/cowrie/scripts/asciinema:run"
creatfs = "src/cowrie/scripts/createfs:run"
playlog = "src/cowrie/scripts/playlog:run"
fsctl = "cowrie.scripts.fsctl:run"
asciinema = "cowrie.scripts.asciinema:run"
creatfs = "cowrie.scripts.createfs:run"
playlog = "cowrie.scripts.playlog:run"
[project.optional-dependencies]
csirtg = ["csirtgsdk==1.1.5"]

View File

@ -2,12 +2,6 @@
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,