Fix project metadata errors
Marco Ricci

Marco Ricci commited on 2026-08-29 23:04:14
Zeige 2 geänderte Dateien mit 4 Einfügungen und 15 Löschungen.


  - Correct trove classifiers and license specification in
    `pyproject.toml`.  Remove outdated hatch configuration too.

  - Fix the copyright date in the license text.
... ...
@@ -1,6 +1,6 @@
1 1
 zlib License
2 2
 
3
-Copyright 2025 Marco Ricci <software@the13thletter.info>
3
+Copyright 2026 Marco Ricci <software@the13thletter.info>
4 4
 
5 5
 This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
6 6
 
... ...
@@ -8,7 +8,7 @@ description = "An almost faithful Python reimplementation of James Coglan's vaul
8 8
 readme = "README.md"
9 9
 version = "0.6.1"
10 10
 requires-python = ">= 3.9"
11
-license = { text = "zlib/libpng" }
11
+license = "Zlib"
12 12
 keywords = []
13 13
 authors = [
14 14
     { name = "Marco Ricci", email = "software@the13thletter.info" },
... ...
@@ -16,7 +16,7 @@ authors = [
16 16
 classifiers = [
17 17
     "Development Status :: 4 - Beta",
18 18
     "Environment :: Console",
19
-    "License :: OSI Approved :: zlib/libpng License",
19
+    "Operating System :: OS Independent",
20 20
     "Programming Language :: Python :: 3",
21 21
     "Programming Language :: Python :: 3.9",
22 22
     "Programming Language :: Python :: 3.10",
... ...
@@ -27,6 +27,7 @@ classifiers = [
27 27
     "Programming Language :: Python :: 3.15",
28 28
     "Programming Language :: Python :: Implementation :: CPython",
29 29
     "Programming Language :: Python :: Implementation :: PyPy",
30
+    "Typing :: Typed",
30 31
 ]
31 32
 dependencies = [
32 33
     # We use click for the command-line interface.  We require version
... ...
@@ -439,18 +440,6 @@ run-cov = "coverage run -m pytest --hypothesis-profile={env:HYPOTHESIS_PROFILE:d
439 440
 cov-combine = "coverage combine"
440 441
 cov-report = "coverage report"
441 442
 
442
-[tool.hatch.envs.types]
443
-features = [
444
-    "dev",
445
-    "export",
446
-]
447
-
448
-[tool.hatch.envs.types.scripts]
449
-check = "mypy --install-types --non-interactive {args:src/derivepassphrase tests}"
450
-
451
-[tool.hatch.version]
452
-path = "src/derivepassphrase/__init__.py"
453
-
454 443
 [tool.mypy]
455 444
 files = ['src/**/*.py', 'tests/**/*.py']
456 445
 mypy_path = '$MYPY_CONFIG_FILE_DIR/src:$MYPY_CONFIG_FILE_DIR/other-stubs'
457 446