mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00

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
34 lines
926 B
TOML
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"
|