Skip to content

Commit a31f431

Browse files
committed
Migrated setup.cfg to pyproject.toml
1 parent 154dcc1 commit a31f431

File tree

13 files changed

+80
-100
lines changed

13 files changed

+80
-100
lines changed

.github/workflows/test_docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
strategy:
3939
matrix:
40-
version: ['24.04']
40+
version: ['26.04']
4141
container:
4242
image: ubuntu:${{ matrix.version }}
4343
steps:

MANIFEST.in

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
include ACKNOWLEDGEMENTS AUTHORS LICENSE README
1+
include ACKNOWLEDGEMENTS AUTHORS LICENSE README.md
22
include dependencies.ini run_tests.py utils/__init__.py utils/dependencies.py
33
include utils/check_dependencies.py
4-
include requirements.txt test_requirements.txt
54
recursive-include config *
65
recursive-include test_data *
76
exclude .gitignore
@@ -10,6 +9,5 @@ recursive-exclude sqliterc *.pyc
109
recursive-include scripts *.py
1110
recursive-exclude scripts *.pyc
1211
# The test scripts are not required in a binary distribution package they
13-
# are considered source distribution files and excluded in find_package()
14-
# in setup.py.
12+
# are considered source distribution files and excluded by find_package().
1513
recursive-include tests *.py
File renamed without changes.

config/dpkg/changelog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
sqlite-kb (20251124-1) unstable; urgency=low
1+
sqlite-kb (20251126-1) unstable; urgency=low
22

33
* Auto-generated
44

5-
-- Joachim Metz <[email protected]> Mon, 24 Nov 2025 13:30:53 +0100
5+
-- Joachim Metz <[email protected]> Wed, 26 Nov 2025 05:56:42 +0100

pyproject.toml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,73 @@
11
[build-system]
22
requires = ["setuptools", "wheel"]
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "sqliterc"
7+
version = "20251126"
8+
description = "SQLite database resources (sqliterc)"
9+
maintainers = [
10+
{ name = "Joachim Metz", email = "[email protected]" },
11+
]
12+
license = "Apache-2.0"
13+
license-files = ["ACKNOWLEDGEMENTS", "AUTHORS", "LICENSE"]
14+
readme = "README.md"
15+
classifiers = [
16+
"Development Status :: 2 - Pre-Alpha",
17+
"Programming Language :: Python",
18+
]
19+
requires-python = ">=3.10"
20+
dependencies = [
21+
"PyYAML >= 3.10",
22+
"artifacts >= 20220219",
23+
"cffi >= 1.9.1",
24+
"dfdatetime >= 20221112",
25+
"dfimagetools >= 20240211",
26+
"dfvfs >= 20240115",
27+
"dfwinreg >= 20211207",
28+
"dtfabric >= 20230518",
29+
"libbde-python >= 20220121",
30+
"libcaes-python >= 20240114",
31+
"libcreg-python >= 20200725",
32+
"libewf-python >= 20131210",
33+
"libfcrypto-python >= 20240114",
34+
"libfsapfs-python >= 20220709",
35+
"libfsext-python >= 20220829",
36+
"libfsfat-python >= 20220925",
37+
"libfshfs-python >= 20220831",
38+
"libfsntfs-python >= 20211229",
39+
"libfsxfs-python >= 20220829",
40+
"libfvde-python >= 20220121",
41+
"libfwnt-python >= 20210717",
42+
"libluksde-python >= 20220121",
43+
"libmodi-python >= 20210405",
44+
"libphdi-python >= 20220228",
45+
"libqcow-python >= 20201213",
46+
"libregf-python >= 20201002",
47+
"libsigscan-python >= 20230109",
48+
"libsmdev-python >= 20140529",
49+
"libsmraw-python >= 20140612",
50+
"libvhdi-python >= 20201014",
51+
"libvmdk-python >= 20140421",
52+
"libvsapm-python >= 20230506",
53+
"libvsgpt-python >= 20211115",
54+
"libvshadow-python >= 20160109",
55+
"libvslvm-python >= 20160109",
56+
"pytsk3 >= 20210419",
57+
"xattr >= 0.7.2 ; platform_system != \"Windows\"",
58+
]
59+
60+
[project.urls]
61+
Documentation = "https://sqliterc.readthedocs.io/en/latest"
62+
Homepage = "https://github.com/libyal/sqlite-kb"
63+
Repository = "https://github.com/libyal/sqlite-kb"
64+
65+
[tool.setuptools.package-data]
66+
sqliterc = [
67+
"data/*.yaml",
68+
]
69+
70+
[tool.setuptools.packages.find]
71+
where = ["."]
72+
include = ["sqliterc"]
73+
exclude = ["docs", "tests", "tests.*", "utils"]

requirements.txt

Lines changed: 0 additions & 37 deletions
This file was deleted.

setup.cfg

Lines changed: 0 additions & 39 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

sqliterc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22
"""SQLite Database resources (sqliterc)."""
33

4-
__version__ = '20251124'
4+
__version__ = '20251126'

test_requirements.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)