-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpyproject.toml
109 lines (99 loc) · 3.13 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[build-system]
requires = [
"setuptools>=61.0.0",
# version compatibility
"bpc-f2format; python_version < '3.6'",
"poseur; python_version < '3.8'", # bpc-poseur
"bpc-walrus; python_version < '3.8'",
"pathlib2>=2.3.2; python_version == '3.4'",
]
build-backend = "setuptools.build_meta"
[project]
name = "pypcapkit"
dynamic = [ "version", "readme" ]
authors = [
{ name="Jarry Shaw", email="[email protected]" },
]
maintainers = [
{ name="Jarry Shaw" },
]
license = { text="BSD 3-Clause License" }
requires-python = ">=3.6, <4"
description = "PyPCAPKit: comprehensive network packet analysis library"
keywords = [ "network", "pcap", "packet" ]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security",
"Topic :: System :: Networking",
"Topic :: System :: Networking :: Monitoring",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
"dictdumper~=0.8.0", # for formatted output
"chardet", # for bytes decode
"aenum", # for const types
"tbtrim>=0.2.1", # for refined exceptions
"typing-extensions; python_version < '3.8'",
]
[project.urls]
homepage = "https://jarryshaw.github.io/PyPCAPKit/"
documentation = "https://jarryshaw.github.io/PyPCAPKit/"
repository = "https://github.com/JarryShaw/PyPCAPKit"
changelog = "https://github.com/JarryShaw/PyPCAPKit/releases"
[project.scripts]
pcapkit-cli = "pcapkit.__main__:main"
pcapkit-vendor = "pcapkit.vendor.__main__:main"
[project.optional-dependencies]
# for CLI display
cli = [ "emoji" ]
# for normal users
DPKT = [ "dpkt" ]
Scapy = [ "scapy" ]
PyShark = [ "pyshark" ]
# for developers
vendor = [ "requests[socks]", "beautifulsoup4[html5lib]" ]
all = [
"emoji",
"dpkt", "scapy", "pyshark",
"requests[socks]", "beautifulsoup4[html5lib]",
]
docs = [
"Sphinx>=6.1.3",
"sphinx-autodoc-typehints", "sphinx-opengraph", "sphinx-copybutton",
"furo",
]
# setuptools specific
[tool.setuptools]
zip-safe = false # We use __file__ in pcapkit/__init__.py, therefore Scapy isn't zip safe
[tool.setuptools.packages.find]
include = [
"pcapkit*",
]
exclude = [
"test*",
"docs*",
"sample*",
]
[tool.setuptools.dynamic]
version = { attr="pcapkit.__version__" }