poetry: add pyproject.toml + lock file

pull/1176/head
Pavol Rusnak 4 years ago
parent d1973b7486
commit e0ee8266ec
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -22,6 +22,7 @@ stdenv.mkDerivation {
openssl
pipenv
pkgconfig
poetry
protobuf3_6
valgrind
wget

1450
poetry.lock generated

File diff suppressed because it is too large Load Diff

@ -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…
Cancel
Save