From 67a6eef710e8a88da9e05d3fdaa2a0730cc62212 Mon Sep 17 00:00:00 2001 From: PWall Date: Thu, 11 Jan 2024 05:25:13 +0100 Subject: [PATCH] Add pyproject.toml (#348) * add pyproject.toml to replace setup.py * fixup! add pyproject.toml to replace setup.py remove keyword from pyproject.toml * remove python2 dependencies --- pyproject.toml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..18d72afc --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,28 @@ +[project] +name = "pykeepass" +readme = "README.rst" +description = "Python library to interact with keepass databases (supports KDBX3 and KDBX4)" +authors = [ + { name = "Philipp Schmitt", email = "philipp@schmitt.co" } +] +license = {text = "GPL-3.0"} +keywords = ["vault", "keepass"] +dependencies = [ + "python-dateutil", + "construct", + "argon2_cffi", + "pycryptodomex>=3.6.2", + "lxml", +] +dynamic = ["version"] + + +[project.urls] +Homepage = "https://github.com/libkeepass/pykeepass" + +[tool.setuptools.dynamic] +version = {attr = "pykeepass.version.__version__"} + +[tool.setuptools] +packages = ["pykeepass"] +include-package-data = true