corrscope/pyproject.toml

65 wiersze
1.7 KiB
TOML

# Right now, `pip install [--editable] .` and `pipx install .` work,
# but `pipx install --editable .` fails with message
# "No apps associated with package UNKNOWN or its dependencies."
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "corrscope"
version = "0.9.0-pre"
description = "Python program to render wave files into oscilloscope views, featuring advanced correlation-based triggering algorithm"
license = "BSD-2-Clause"
authors = ["nyanpasu64 <nyanpasu64@tuta.io>"]
# maintainers =
readme = "README.md"
# homepage =
repository = "https://github.com/corrscope/corrscope/"
documentation = "https://corrscope.github.io/corrscope/"
[tool.poetry.dependencies]
python = "^3.8"
"ruamel.yaml" = "^0.17"
numpy = "^1.21"
click = "^8.0.1"
matplotlib = "^3.1"
attrs = "^21.2.0"
appdirs = "^1.4.4"
atomicwrites = "^1.4.0"
colorspacious = "^1.1.2"
QtPy = "^2.0.1"
PyQt5 = {version = "^5.15", optional = true}
PyQt5-Qt5 = {version = "^5.15,<5.15.11", optional = true}
PyQt6 = {version = "^6.2", optional = true}
appnope = "^0.1.3"
[tool.poetry.extras]
qt5 = ["PyQt5", "PyQt5-Qt5"]
qt6 = ["PyQt6"]
[tool.poetry.dev-dependencies]
pytest = "^7"
pytest-mock = "^3.6.1"
hypothesis = "^6.14.0"
delayed-assert = "^0.3.5"
# Note: PyInstaller 4.5 and below claim to support all Python versions,
# and 4.6 and above have maximum Python versions.
# When upgrading the version of Python (not PyInstaller) used to create binaries,
# increase the `python = ""` bound.
pyinstaller = {version = "^6.3", python = "<3.13"}
#pefile = {version = "^2021.5.24", platform = "win32"}
pytest-cases = "^3.6.1"
black = "^22"
[tool.poetry.scripts]
corr = 'corrscope.cli:main'
[tool.black]
line-length = 88
py36 = true
exclude = 'utils/scipy/'