|
1 | 1 | [project] |
2 | 2 | name = "pykeepass" |
3 | | -# setuptools normalizes semver '-' to '.' |
4 | | -# avoid using hyphens: 1.2.3.post1 |
5 | | -version = "4.1.1.post1" |
| 3 | +version = "4.2.0" |
6 | 4 | readme = "README.md" |
7 | 5 | description = "Python library to interact with keepass databases (supports KDBX3 and KDBX4)" |
8 | 6 | authors = [ |
9 | 7 | { name = "Philipp Schmitt", email = "philipp@schmitt.co" }, |
10 | | - { name = "Evan Widloski", email = "evan_gh@widloski.com" } |
| 8 | + { name = "Evan Widloski", email = "evan_gh@widloski.com" }, |
| 9 | + { name = "Corey Leavitt", email = "corey@leavitt.info" } |
11 | 10 | ] |
12 | | -license = {text = "GPL-3.0"} |
13 | | -keywords = ["vault", "keepass"] |
14 | | -requires-python = ">=3.7" |
| 11 | +license = { text = "GPL-3.0" } |
| 12 | +keywords = ["vault", "keepass", "kdbx", "password-manager"] |
| 13 | +requires-python = ">=3.10" |
15 | 14 | dependencies = [ |
| 15 | + "argon2-cffi>=23.1.0", |
| 16 | + "construct>=2.10.70", |
| 17 | + "lxml>=5.3.0", |
| 18 | + "pycryptodomex>=3.21.0", |
16 | 19 | "pyotp>=2.9.0", |
17 | | - "setuptools; python_version<'3.8'", |
18 | | - "construct>=2.10.53", |
19 | | - "argon2_cffi>=18.1.0", |
20 | | - "pycryptodomex>=3.6.2", |
21 | | - "lxml", |
22 | 20 | ] |
23 | 21 | classifiers = [ |
24 | 22 | "Topic :: Security", |
25 | 23 | "Topic :: Software Development :: Libraries", |
26 | 24 | "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", |
27 | | - "Programming Language :: Python :: 3.7", |
28 | | - "Programming Language :: Python :: 3.8", |
29 | | - "Programming Language :: Python :: 3.9", |
30 | 25 | "Programming Language :: Python :: 3.10", |
31 | 26 | "Programming Language :: Python :: 3.11", |
| 27 | + "Programming Language :: Python :: 3.12", |
| 28 | + "Programming Language :: Python :: 3.13", |
32 | 29 | ] |
33 | 30 |
|
34 | 31 | [project.optional-dependencies] |
35 | | -test = ["pyotp", "pdoc"] |
| 32 | +dev = [ |
| 33 | + "pytest>=8.0.0", |
| 34 | + "pdoc>=15.0.0", |
| 35 | +] |
36 | 36 |
|
37 | 37 | [project.urls] |
38 | 38 | Homepage = "https://github.com/libkeepass/pykeepass" |
39 | 39 | Repository = "https://github.com/libkeepass/pykeepass" |
40 | 40 | Issues = "https://github.com/libkeepass/pykeepass/issues" |
41 | 41 | Changelog = "https://github.com/libkeepass/pykeepass/blob/master/CHANGELOG.rst" |
42 | 42 |
|
43 | | -[tool.setuptools] |
44 | | -packages = ["pykeepass", "pykeepass.kdbx_parsing"] |
45 | | -include-package-data = true |
46 | | - |
47 | 43 | [build-system] |
48 | | -requires = ["setuptools>=59.0.0"] |
49 | | -build-backend = 'setuptools.build_meta' |
| 44 | +requires = ["hatchling"] |
| 45 | +build-backend = "hatchling.build" |
| 46 | + |
| 47 | +[tool.hatch.build.targets.wheel] |
| 48 | +packages = ["pykeepass"] |
| 49 | + |
| 50 | +[tool.pytest.ini_options] |
| 51 | +testpaths = ["tests"] |
| 52 | +python_files = ["tests.py", "test_*.py"] |
0 commit comments