summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml64
1 files changed, 59 insertions, 5 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 272c00f..0c7cc65 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,17 +1,71 @@
1[build-system] 1[build-system]
2requires = [ 2requires = [
3 "setuptools>=51", 3 "setuptools >= 77.0.3",
4 "wheel" 4 "wheel"
5] 5]
6 6
7build-backend = "setuptools.build_meta" 7build-backend = "setuptools.build_meta"
8 8
9 9
10[project]
11name = "pyotp2289"
12description = "A pure Python implementation of 'A One-Time Password System'"
13dynamic = ["version"]
14license = "BSD-2-Clause"
15authors = [{name = "Simeon Simeonov"}]
16readme = "README.md"
17requires-python = ">= 3.10"
18
19classifiers = [
20 "Development Status :: 5 - Production/Stable",
21 "Intended Audience :: Developers",
22 "Intended Audience :: System Administrators",
23 "Programming Language :: Python :: 3",
24 "Programming Language :: Python :: 3.10",
25 "Programming Language :: Python :: 3.11",
26 "Programming Language :: Python :: 3.12",
27 "Programming Language :: Python :: 3.13",
28 "Programming Language :: Python :: 3.14",
29 "Programming Language :: Python :: 3.15",
30 "Operating System :: OS Independent",
31 "Topic :: Security :: Cryptography",
32]
33
34
35[dependency-groups]
36dev = [
37 "pytest>=7",
38 "ruff>=0.15.0",
39 "ty>=0.0.31",
40]
41
42
43[project.scripts]
44otp2289 = "otp2289.__main__:main"
45
46
47[project.urls]
48Homepage = "https://codeberg.org/sgs/pyotp2289"
49Repository = "https://codeberg.org/sgs/pyotp2289"
50Issues = "https://codeberg.org/sgs/pyotp2289/issues"
51Changelog = "https://codeberg.org/sgs/pyotp2289/src/branch/master/CHANGELOG.md"
52
53
10[tool.pytest.ini_options] 54[tool.pytest.ini_options]
11minversion = "7.0" 55minversion = "7.0"
12testpaths = [ 56cache_dir = "~/.cache/pytest_cache"
13 "test"
14]
15pythonpath = [ 57pythonpath = [
16 "src" 58 "src"
59]
60testpaths = [
61 "tests"
17] 62]
63
64
65[tool.setuptools.dynamic]
66version = {attr = "otp2289.__version__"}
67
68
69[tool.ty.environment]
70python-version = "3.10"
71root = ["./src"]