Skip to content

Commit 40f610d

Browse files
migrate to pyproject.toml
1 parent 9d9bc6a commit 40f610d

File tree

2 files changed

+75
-0
lines changed

2 files changed

+75
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ testing-evtxs/*
4141
.direnv/
4242
.env/
4343
.envrc
44+
.venv

pyproject.toml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "python-evtx"
7+
version = "0.8.0"
8+
description = "Pure Python parser for Windows event log files (.evtx)."
9+
readme = "README.md"
10+
license = { text = "Apache-2.0" }
11+
authors = [
12+
{ name = "Willi Ballenthin", email = "willi.ballenthin@gmail.com" },
13+
]
14+
requires-python = ">=3.9"
15+
dependencies = [
16+
"hexdump>=3.3",
17+
]
18+
classifiers = [
19+
"Development Status :: 5 - Production/Stable", # Assuming based on version 0.8.0
20+
"Intended Audience :: Developers",
21+
"Intended Audience :: Information Technology",
22+
"License :: OSI Approved :: Apache Software License",
23+
"Operating System :: OS Independent",
24+
"Programming Language :: Python :: 3",
25+
"Programming Language :: Python :: 3.9",
26+
"Programming Language :: Python :: 3.10",
27+
"Programming Language :: Python :: 3.11",
28+
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
30+
"Topic :: System :: Logging",
31+
"Topic :: Software Development :: Libraries :: Python Modules",
32+
"Topic :: Security",
33+
]
34+
35+
[project.urls]
36+
Homepage = "https://github.com/williballenthin/python-evtx"
37+
Repository = "https://github.com/williballenthin/python-evtx"
38+
Bug-Tracker = "https://github.com/williballenthin/python-evtx/issues"
39+
40+
[project.optional-dependencies]
41+
test = [
42+
"pytest-cov>=5.0.0",
43+
"pytest>=8.2.2",
44+
"lxml>=5.2.2",
45+
"black>=24.4.2",
46+
"isort>=5.13.2",
47+
"ruff>=0.4.10",
48+
]
49+
50+
[project.scripts]
51+
evtx_dump = "scripts.evtx_dump:main"
52+
evtx_dump_json = "scripts.evtx_dump_json:main"
53+
evtx_dump_chunk_slack = "scripts.evtx_dump_chunk_slack:main"
54+
evtx_eid_record_numbers = "scripts.evtx_eid_record_numbers:main"
55+
evtx_extract_record = "scripts.evtx_extract_record:main"
56+
evtx_filter_records = "scripts.evtx_filter_records:main"
57+
evtx_info = "scripts.evtx_info:main"
58+
evtx_record_structure = "scripts.evtx_record_structure:main"
59+
evtx_structure = "scripts.evtx_structure:main"
60+
evtx_templates = "scripts.evtx_templates:main"
61+
62+
[tool.setuptools]
63+
packages = ["Evtx"]
64+
65+
[tool.black]
66+
line-length = 120
67+
68+
[tool.isort]
69+
profile = "black"
70+
line_length = 120
71+
length_sort = true
72+
73+
[tool.ruff]
74+
line-length = 120

0 commit comments

Comments
 (0)