|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "fido2" |
3 | 3 | version = "2.0.0-dev.0" |
4 | 4 | description = "FIDO2/WebAuthn library for implementing clients and servers." |
5 | | -authors = ["Dain Nilsson <dain@yubico.com>"] |
6 | | -homepage = "https://github.com/Yubico/python-fido2" |
7 | | -repository = "https://github.com/Yubico/python-fido2" |
| 5 | +authors = [{ name = "Dain Nilsson", email = "<dain@yubico.com>" }] |
| 6 | +readme = "README.adoc" |
| 7 | +requires-python = ">=3.10, <4" |
| 8 | +license = { file = "COPYING" } |
8 | 9 | keywords = ["fido2", "webauthn", "ctap", "u2f"] |
9 | 10 | classifiers = [ |
10 | | - "License :: OSI Approved :: BSD License", |
11 | | - "License :: OSI Approved :: Apache Software License", |
12 | | - "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", |
13 | | - "Operating System :: MacOS", |
14 | | - "Operating System :: Microsoft :: Windows", |
15 | | - "Operating System :: POSIX :: Linux", |
16 | | - "Development Status :: 5 - Production/Stable", |
17 | | - "Intended Audience :: Developers", |
18 | | - "Intended Audience :: System Administrators", |
19 | | - "Topic :: Internet", |
20 | | - "Topic :: Security :: Cryptography", |
21 | | - "Topic :: Software Development :: Libraries :: Python Modules" |
22 | | -] |
23 | | -include = [ |
24 | | - { path = "COPYING", format = "sdist"}, |
25 | | - { path = "COPYING.MPLv2", format = "sdist"}, |
26 | | - { path = "COPYING.APLv2", format = "sdist"}, |
27 | | - { path = "NEWS", format = "sdist"}, |
28 | | - { path = "README.adoc", format = "sdist"}, |
29 | | - { path= "tests/", format = "sdist"}, |
30 | | - { path= "examples/", format = "sdist"}, |
| 11 | + "License :: OSI Approved :: BSD License", |
| 12 | + "License :: OSI Approved :: Apache Software License", |
| 13 | + "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", |
| 14 | + "Operating System :: MacOS", |
| 15 | + "Operating System :: Microsoft :: Windows", |
| 16 | + "Operating System :: POSIX :: Linux", |
| 17 | + "Development Status :: 5 - Production/Stable", |
| 18 | + "Intended Audience :: Developers", |
| 19 | + "Intended Audience :: System Administrators", |
| 20 | + "Topic :: Internet", |
| 21 | + "Topic :: Security :: Cryptography", |
| 22 | + "Topic :: Software Development :: Libraries :: Python Modules", |
31 | 23 | ] |
| 24 | +dependencies = ["cryptography (>=2.6, !=35, <47)"] |
| 25 | + |
| 26 | +[project.optional-dependencies] |
| 27 | +pcsc = ["pyscard (>=1.9, <3)"] |
32 | 28 |
|
33 | | -[tool.poetry.dependencies] |
34 | | -python = "^3.10" |
35 | | -cryptography = ">=2.6, !=35, <47" |
36 | | -pyscard = {version = "^1.9 || ^2", optional = true} |
| 29 | +[project.urls] |
| 30 | +Homepage = "https://github.com/Yubico/python-fido2" |
37 | 31 |
|
38 | | -[tool.poetry.extras] |
39 | | -pcsc = ["pyscard"] |
| 32 | +[tool.poetry] |
| 33 | +include = [ |
| 34 | + { path = "COPYING", format = "sdist" }, |
| 35 | + { path = "COPYING.MPLv2", format = "sdist" }, |
| 36 | + { path = "COPYING.APLv2", format = "sdist" }, |
| 37 | + { path = "NEWS", format = "sdist" }, |
| 38 | + { path = "README.adoc", format = "sdist" }, |
| 39 | + { path = "tests/", format = "sdist" }, |
| 40 | + { path = "examples/", format = "sdist" }, |
| 41 | +] |
40 | 42 |
|
41 | | -[tool.poetry.dev-dependencies] |
| 43 | +[tool.poetry.group.dev.dependencies] |
42 | 44 | pytest = "^7.0" |
43 | 45 | Sphinx = "^8.1" |
44 | 46 | sphinx-rtd-theme = "^3.0.1" |
45 | 47 | sphinx-autoapi = "^3.3.3" |
46 | 48 |
|
47 | 49 | [build-system] |
48 | | -requires = ["poetry-core>=1.0.0"] |
| 50 | +requires = ["poetry-core>=2.0"] |
49 | 51 | build-backend = "poetry.core.masonry.api" |
50 | 52 |
|
51 | 53 | [tool.pytest.ini_options] |
|
0 commit comments