Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (78 loc) · 2.38 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (78 loc) · 2.38 KB
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
[build-system]
requires = ["setuptools>=70.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.coverage.run]
source = ["exeplot"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'if.*?__name__.*?==.*?.__main__.:',
'def main\(\)\:',
'except:',
'except ImportError:',
'except NameError:',
'except (AttributeError, TypeError):',
'raise NotImplementedError',
'def _setup(parser):',
'def configure():',
'def byte_differences\(bytes1, bytes2\):',
'# blocks skipped ; no testing required (done manually)',
'''if kw.get\('interactive_mode', False\):''',
'if self.type not in ["ELF", "MachO", "PE"]:',
'if j <= i or start2 is None:',
'if s != self.__size:',
'''glob['_IMP'] = True''',
]
[tool.setuptools.dynamic]
version = {attr = "exeplot.__info__.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = ["*.txt"]
[project]
name = "exeplot"
authors = [
{name="Alexandre D'Hondt", email="alexandre.dhondt@gmail.com"},
]
description = "Library for plotting executable samples supporting multiple formats"
license = {file = "LICENSE"}
keywords = ["python", "development", "programming", "executable-samples", "plot", "entropy", "cfg"]
requires-python = ">=3.10,<4"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"lief>=0.16.1",
"matplotlib",
]
dynamic = ["version"]
[project.optional-dependencies]
graph = [
"angr>=9.2",
# angr 9.2.x (last release for Python<3.12) does not pin these, while angr 10 does
"bitstring<5; python_version<'3.12'",
"pycparser<3.12; python_version<'3.12'",
"networkx>=3.4.2",
"numpy",
"pygraphviz>=1.14",
"scipy",
"unicorn>2",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
documentation = "https://python-exeplot.readthedocs.io/en/latest/?badge=latest"
homepage = "https://github.com/packing-box/python-exeplot"
issues = "https://github.com/packing-box/python-exeplot/issues"
repository = "https://github.com/packing-box/python-exeplot"
[project.scripts]
exeplot = "exeplot.__main__:main"