-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
pyproject.toml
51 lines (41 loc) · 1.21 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
46
47
48
49
50
51
[tool.poetry]
name = "aw-qt"
version = "0.1.0"
description = "Trayicon for ActivityWatch"
authors = ["Erik Bjäreholt <[email protected]>"]
license = "MPL-2.0"
include = ["aw_qt/resources.py"] # resources.py is in .gitignore and generated before build
packages = [
{ include = "aw_qt" },
]
[tool.poetry.scripts]
aw-qt = "aw_qt:main"
[tool.poetry.dependencies]
python = "^3.8"
aw-core = "^0.5"
pyobjc-framework-Cocoa = { version = "*", platform = "darwin" }
click = "*"
# For some reason, importlib-metadata is being uninstalled in the bundle repo CI
# (despite needed by flask in aw-server for Python <3.10)
importlib-metadata = {version = "*", python = "<3.10"}
# provides pkg_resources, needed for pyinstaller for some reason
setuptools = "*"
[tool.poetry.group.pyqt.dependencies]
# keep these in sync
PyQt6 = "6.5.3"
PyQt6-Qt6 = "6.5.3"
[tool.poetry.dev-dependencies]
mypy = "*"
PyQt6-stubs = { git = "https://github.com/TilmanK/PyQt6-stubs", rev = "main" }
flake8 = "*"
pyinstaller = ">=6.6"
types-click = "*"
[tool.mypy]
python_version = 3.8
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "*.resources"
ignore_errors = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"