-
-
Notifications
You must be signed in to change notification settings - Fork 773
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (93 loc) · 2.23 KB
/
pyproject.toml
File metadata and controls
101 lines (93 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[project]
name = "trezor"
version = "0.20.2"
description = "Python library for communicating with Trezor Hardware Wallet"
readme = "README.md"
license = "LGPL-3.0-only"
license-files = ["COPYING"]
authors = [
{name = "Trezor", email = "info@trezor.io"}
]
maintainers = [
{name = "matejcik", email = "jan.matejek@satoshilabs.com"}
]
keywords = ["trezor", "hardware", "wallet", "cryptocurrency", "bitcoin", "ethereum"]
classifiers = [
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.9"
dependencies = [
"mnemonic>=0.20",
"shamir-mnemonic>=0.3.0",
"slip10>=1.0.1",
"requests>=2.4.0",
"click>=8,<9",
"libusb1>=1.6.4",
"construct>=2.9,!=2.10.55",
"typing_extensions>=4.7.1",
"construct-classes>=0.1.2",
"cryptography>=41",
"noiseprotocol>=0.3.1,<0.4.0",
"platformdirs>=4.4.0",
"keyring>=25.7.0",
]
[project.optional-dependencies]
hidapi = ["hidapi>=0.7.99.post20"]
ethereum = ["web3>=5"]
qt-widgets = ["PyQt5"]
extra = ["Pillow>=10"]
stellar = ["stellar-sdk>=6"]
ble = ["bleak>=1.1.0"]
full = [
"hidapi>=0.7.99.post20",
"web3>=5",
"PyQt5",
"Pillow>=10",
"stellar-sdk>=6",
"bleak>=1.1.0",
]
[project.urls]
Homepage = "https://github.com/trezor/trezor-firmware/tree/main/python"
Repository = "https://github.com/trezor/trezor-firmware"
Documentation = "https://github.com/trezor/trezor-firmware/tree/main/python"
[project.scripts]
trezorctl = "trezorlib.cli.trezorctl:cli"
[build-system]
requires = ["flit_core >= 3.11,<5"]
build-backend = "flit_core.buildapi"
[tool.uv]
package = true
exclude-newer = "30 days"
[tool.flit.module]
name = "trezorlib"
[tool.flit.sdist]
include = [
"bash_completion.d",
"docs",
"stubs",
"tests",
"tools",
"AUTHORS",
"CHANGELOG.md",
"setup.cfg",
"pyrightconfig.json",
"tox.ini",
]
exclude = [
"tests/*.bin",
"src/trezorlib/_proto_messages.mako",
]
[dependency-groups]
dev = [
"autoflake>=2.3.1",
"black>=25",
"flake8>=2.3.0",
"isort>=5.13.2",
"pytest>=8.3.5",
"pytest-random-order>=1.2.0",
"tox>=4.25.0",
"tox-uv>=1.13.1",
]