-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for Flowsynth as Python module (#19)
* files/changes for Flowsynth Python module support * README update/cleanup
- Loading branch information
counterthreatunit
authored
Dec 31, 2019
1 parent
afc9267
commit 950b8d0
Showing
5 changed files
with
160 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
from setuptools import setup, find_packages | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setup( | ||
name="flowsynth", | ||
version="1.3.0", | ||
author="Will Urbanski", | ||
maintainer="David Wharton", | ||
maintainer_email="counterthreatunit@users.noreply.github.com", | ||
description="Flowsynth is a tool for rapidly modeling network traffic. Flowsynth can be used to generate text-based hexdumps of packets as well as native libpcap format packet captures.", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/secureworks/flowsynth", | ||
package_dir={"flowsynth": "src"}, | ||
packages=["flowsynth"], | ||
install_requires=[ | ||
"scapy>=2.4.0", | ||
"argparse", | ||
], | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: Developers", | ||
"Topic :: System :: Networking", | ||
], | ||
python_requires='>=2.7', | ||
keywords='pcap, pcaps, packet capture, libpcap, IDS, IPS, packets, scapy', | ||
project_urls={ | ||
'Documentation': 'https://github.com/secureworks/flowsynth/blob/master/README.md', | ||
'Source': 'https://github.com/secureworks/flowsynth', | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name = "flowsynth" | ||
|
||
try: | ||
from flowsynth import Model | ||
except ImportError: | ||
from flowsynth.flowsynth import Model |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters