Skip to content

Commit 7beba1f

Browse files
committed
Add pyproject.toml
1 parent 9bf8f87 commit 7beba1f

16 files changed

+45
-73
lines changed

setup.cfg .flake8

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
[flake8]
22
max-line-length = 88
33
ignore = E203, W503
4-
exclude = .*/

pyproject.toml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[tool.poetry]
2+
name = "yubikey-manager"
3+
version = "4.0.0-dev0"
4+
description = "Tool for managing your YubiKey configuration."
5+
authors = ["Dain Nilsson <[email protected]>"]
6+
license = "BSD"
7+
homepage = "https://github.com/Yubico/yubikey-manager"
8+
repository = "https://github.com/Yubico/yubikey-manager"
9+
keywords = ["yubikey", "yubiotp", "piv", "fido"]
10+
classifiers = [
11+
"Development Status :: 5 - Production/Stable",
12+
"Intended Audience :: End Users/Desktop",
13+
"Topic :: Security :: Cryptography",
14+
"Topic :: Utilities"
15+
]
16+
include = ["COPYING", "NEWS", "README.adoc", "doc/", "man/"]
17+
packages = [
18+
{ include = "yubikit" },
19+
{ include = "ykman" },
20+
]
21+
22+
23+
[tool.poetry.dependencies]
24+
python = "^3.6"
25+
dataclasses = {version = "^0.8", python = "<3.7"}
26+
cryptography = "^2.1 || ^3.0"
27+
pyOpenSSL = {version = ">=0.15.1", optional = true}
28+
pyscard = "^1.9 || ^2.0"
29+
fido2 = ">=0.9, <1.0"
30+
click = "^6.0 || ^7.0"
31+
pywin32 = {version = ">=223", platform = "win32"}
32+
33+
[tool.poetry.dev-dependencies]
34+
pytest = "^6.0"
35+
pyOpenSSL = "^17.0"
36+
37+
[tool.poetry.scripts]
38+
ykman = "ykman.cli.__main__:main"
39+
40+
[build-system]
41+
requires = ["poetry-core>=1.0.0"]
42+
build-backend = "poetry.core.masonry.api"
43+
44+
[tool.pytest.ini_options]
45+
testpaths = ["tests"]

setup.py

-72
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/test_piv.py tests/test_piv.py

File renamed without changes.
File renamed without changes.
File renamed without changes.

test/util.py tests/util.py

File renamed without changes.

0 commit comments

Comments
 (0)