dangerzone/pyproject.toml
deeplow bc7188eb4d
add dev dependency: PySide2-stubs
Mypy was returning many errors relating to PySide2, which didn't
make much sense. This is apparently because there are missing type
hinting stubs for PySide2.

The temporary solution is to add this devel dependency.

Upstream issue: (remove dep. when solved)
  - https://bugreports.qt.io/browse/PYSIDE-1675
2022-08-22 11:13:29 +01:00

34 lines
926 B
TOML

[tool.poetry]
name = "dangerzone"
version = "0.3.1"
description = "Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs"
authors = ["Micah Lee <micah.lee@theintercept.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.7,<3.10"
click = "*"
appdirs = "*"
PySide2 = "5.15.2"
colorama = "*"
cx_freeze = {version = "*", platform = "win32"}
pywin32 = {version = "*", platform = "win32"}
pyxdg = {version = "*", platform = "linux"}
pyinstaller = {version = "*", platform = "darwin"}
strip-ansi = {version = "*", platform = "darwin"}
[tool.poetry.dev-dependencies]
setuptools = {version = "*", platform = "win32"}
black = "*"
isort = "*"
mypy = "*"
PySide2-stubs = "*"
[tool.poetry.scripts]
dangerzone = 'dangerzone:main'
dangerzone-container = 'dangerzone:main'
dangerzone-cli = 'dangerzone:main'
[build-system]
requires = ["poetry>=1.1.4"]
build-backend = "poetry.masonry.api"