mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-17 10:51:00 +00:00
poetry: add pyproject.toml + lock file
This commit is contained in:
parent
d1973b7486
commit
e0ee8266ec
@ -22,6 +22,7 @@ stdenv.mkDerivation {
|
|||||||
openssl
|
openssl
|
||||||
pipenv
|
pipenv
|
||||||
pkgconfig
|
pkgconfig
|
||||||
|
poetry
|
||||||
protobuf3_6
|
protobuf3_6
|
||||||
valgrind
|
valgrind
|
||||||
wget
|
wget
|
||||||
|
1450
poetry.lock
generated
Normal file
1450
poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
77
pyproject.toml
Normal file
77
pyproject.toml
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
[tool.poetry]
|
||||||
|
name = "trezor-firmware"
|
||||||
|
version = "0.0.0"
|
||||||
|
description = ""
|
||||||
|
authors = ["SatoshiLabs <info@satoshilabs.com>"]
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
# all
|
||||||
|
python = "^3.6"
|
||||||
|
trezor = {path = "./python"}
|
||||||
|
scons = "*"
|
||||||
|
protobuf = "*"
|
||||||
|
Pyro4 = "*"
|
||||||
|
nanopb = "0.4.1"
|
||||||
|
|
||||||
|
## test tools
|
||||||
|
pytest = "*"
|
||||||
|
mock = "*"
|
||||||
|
coverage = "<5" # coverage 5+ uses binary sqlite format
|
||||||
|
flaky = ">=3.6.1" # https://github.com/box/flaky/issues/156
|
||||||
|
pytest-ordering = "*"
|
||||||
|
pytest-random-order = "*"
|
||||||
|
pytest-timeout = "*"
|
||||||
|
tox = "*"
|
||||||
|
dominate = "*"
|
||||||
|
|
||||||
|
# hardware tests
|
||||||
|
pyserial = "*"
|
||||||
|
|
||||||
|
## test requirements
|
||||||
|
shamir-mnemonic = "*"
|
||||||
|
fido2 = ">=0.8.0"
|
||||||
|
|
||||||
|
## typing
|
||||||
|
mypy = "*"
|
||||||
|
typing-extensions = ">=3.7.4"
|
||||||
|
|
||||||
|
## style
|
||||||
|
isort = "<5" # 5 changes lots of stuff that need to be addressed first: https://timothycrosley.github.io/isort/docs/upgrade_guides/5.0.0/
|
||||||
|
flake8 = ">=3.7.0"
|
||||||
|
black = ">=19.10b0"
|
||||||
|
mako = ">=1.0.7"
|
||||||
|
munch = ">=2.3.2"
|
||||||
|
autoflake = "*"
|
||||||
|
|
||||||
|
# common
|
||||||
|
demjson = "*"
|
||||||
|
graphviz = "*"
|
||||||
|
|
||||||
|
## cointool
|
||||||
|
click = ">=6"
|
||||||
|
ed25519 = ">=1.4"
|
||||||
|
requests = ">=2.19"
|
||||||
|
termcolor = ">=0.1.2"
|
||||||
|
Pillow = ">=5.2.0"
|
||||||
|
|
||||||
|
# crypto
|
||||||
|
ecdsa = ">=0.13.3"
|
||||||
|
curve25519-donna = "*"
|
||||||
|
pyasn1 = "*"
|
||||||
|
|
||||||
|
# legacy
|
||||||
|
setuptools = ">=24.2.0"
|
||||||
|
typing = "*"
|
||||||
|
|
||||||
|
# storage
|
||||||
|
cryptography = "*"
|
||||||
|
hypothesis = "*"
|
||||||
|
attrs = "*"
|
||||||
|
inotify = "*"
|
||||||
|
|
||||||
|
[tool.poetry.dev-dependencies]
|
||||||
|
scan-build = "*"
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry>=0.12"]
|
||||||
|
build-backend = "poetry.masonry.api"
|
Loading…
Reference in New Issue
Block a user