forked from freedomofpress/dangerzone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
45 lines (39 loc) · 1.23 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[tool.poetry]
name = "dangerzone"
version = "0.4.1"
description = "Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs"
authors = ["Freedom of the Press Foundation <[email protected]>", "Micah Lee <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.7,<3.12"
click = "*"
appdirs = "*"
PySide6 = "^6.4.1"
colorama = "*"
pyxdg = {version = "*", platform = "linux"}
[tool.poetry.scripts]
dangerzone = 'dangerzone:main'
dangerzone-container = 'dangerzone:main'
dangerzone-cli = 'dangerzone:main'
# Dependencies required for packaging the code on various platforms.
[tool.poetry.group.package.dependencies]
setuptools = "*"
cx_freeze = {version = "^6.13.1", platform = "win32"}
pywin32 = {version = "*", platform = "win32"}
pyinstaller = {version = "*", platform = "darwin"}
# Dependencies required for linting the code.
[tool.poetry.group.lint.dependencies]
black = "*"
isort = "*"
mypy = "*"
types-PySide2 = "*"
# Dependencies required for testing the code.
[tool.poetry.group.test.dependencies]
pytest = "^7.1.2"
pytest-mock = "^3.10.0"
pytest-xdist = "^2.5.0"
pytest-cov = "^3.0.0"
strip-ansi = "*"
[build-system]
requires = ["poetry>=1.1.4"]
build-backend = "poetry.masonry.api"