-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (77 loc) · 2.36 KB
/
pyproject.toml
File metadata and controls
93 lines (77 loc) · 2.36 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = [
"setuptools>=42,<81",
]
build-backend = "setuptools.build_meta"
[project]
name = "Pomodouroboros"
authors=[
{ name = "Glyph", email = "code@glyph.im" },
]
description = "An extremely opinionated pomodoro system."
readme = "README.md"
dependencies = [
# core dependencies
"twisted[tls,http2]",
"python-dateutil",
"ulid-py",
"datetype",
"fritter",
]
classifiers = [
"Programming Language :: Python :: 3",
]
version = "0.5.6"
[project.optional-dependencies]
# Multiple separate 'GUI' environments to work around
# https://github.com/jazzband/pip-tools#cross-environment-usage-of-requirementsinrequirementstxt-and-pip-compile
# Possibly we should be using https://gitlab.com/mitchhentges/pip-compile-cross-platform instead
macOS-gui = [
"py2app ; sys_platform == 'darwin'",
"setuptools",
"pyobjc-core ; sys_platform == 'darwin'",
"pyobjc-framework-Cocoa ; sys_platform == 'darwin'",
"pyobjc-framework-ExceptionHandling ; sys_platform == 'darwin'",
"pyobjc-framework-UserNotifications ; sys_platform == 'darwin'",
"pyobjc-framework-CFNetwork ; sys_platform == 'darwin'",
"pyobjc-framework-ServiceManagement ; sys_platform == 'darwin'",
"quickmacapp ; sys_platform == 'darwin'",
"quickmachotkey ; sys_platform == 'darwin'",
]
Linux-gui = [
"ewmh ; sys_platform == 'linux'",
"pycairo ; sys_platform == 'linux'",
# Pinning below 3.52 because it now needs libgirepository-2.0 which is not
# yet in standard debian/python docker images
"PyGObject<3.52 ; sys_platform == 'linux'",
"python-xlib ; sys_platform == 'linux'",
"pydbus ; sys_platform == 'linux'",
]
dev = [
"pip",
"pip-tools",
# need to repeat the pin from macOS-GUI or they will sadly conflict
"setuptools",
"mypy",
"mypy-zope",
"types-python-dateutil",
"pygobject-stubs",
"pycairo", # pycairo doesn't have separate stubs, need the
# actual pycairo for type checking
"types-python-xlib",
"encrust ; sys_platform == 'darwin'",
]
[project.urls]
Source = "https://github.com/glyph/Pomodouroboros"
Bug-Tracker = "https://github.com/glyph/Pomodouroboros/issues"
[project.scripts]
pom = "pomodouroboros.cli:main"
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
[tool.ruff]
ignore = [
"E731",
]