-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (69 loc) · 2.41 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (69 loc) · 2.41 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
[project]
name = "Perpetua"
version = "1.6.0"
description = "Cross-platform Mouse, keyboard, and clipboard sharing"
authors = [
{name = "fizzi01"}
]
readme = "README.md"
requires-python = ">=3.11,<3.13"
dependencies = [
"packaging (>=24.2,<=27.0.0)",
"pynput (>=1.7.7,<2.0.0)",
"pyobjc (>=10.2,<13.0) ; sys_platform == 'darwin'",
"pywin32 (>=308,<400.0.0) ; sys_platform == 'win32'",
"comtypes (>=1.4.8,<2.0.0) ; sys_platform == 'win32'",
"colorama (<=0.5.0) ; sys_platform == 'win32'",
"zeroconf (>=0.136.2,<1.0.0)",
# Interface enumeration for the advertise picker. Already pulled in by
# zeroconf, but declared directly because we import it ourselves - relying
# on a transitive pin is how a dependency bump silently breaks the build.
"ifaddr (>=0.2.0,<1.0.0)",
"attrs (>=25.4.0,<27.0.0)",
"copykitten @ git+https://github.com/fizzi01/copykitten.git@add_file_list",
"cryptography (>=48.0.0,<49.0.0) ; sys_platform == 'darwin' and platform_machine == 'x86_64'",
"cryptography (>=49.0.0,<50.0.0) ; sys_platform != 'darwin' or platform_machine != 'x86_64'",
"aiofiles (>=25.1.0,<26.0.0)",
"uvloop @ git+https://github.com/fizzi01/uvloop.git@perpetua ; sys_platform == 'darwin' or sys_platform == 'linux'",
"python-xlib @ git+https://github.com/fizzi01/python-xlib.git ; sys_platform == 'linux'",
"python-wayland (== 1.0.0) ; sys_platform == 'linux'",
"snegg @ git+http://gitlab.freedesktop.org/whot/snegg ; sys_platform == 'linux'",
"pyinputcapture (==0.2.0) ; sys_platform == 'linux'",
"winloop (==0.5.0) ; sys_platform == 'win32'",
"structlog (>=25.5.0,<27.0.0)",
"msgspec (>=0.20.0,<=1.0.0)"
]
[tool.poetry]
packages = [
{ include = "*", from = "src" }
]
[tool.poetry.scripts]
build = "build:main"
build-gui = "scripts:build_gui"
build-daemon = "scripts:build_daemon"
clean-build = "scripts:clean_build"
launcher = "launcher:main"
[tool.poetry.group.dev.dependencies]
ty = "<0.1.0"
ruff = "<1.0.0"
[tool.poetry.group.build.dependencies]
nuitka = "<5.0.0"
[tool.poetry.group.test.dependencies]
anyio = "^4.12.0"
pytest = "<10.0.0"
pytest-timeout = "^2.4.0"
structlog = ">=25.5.0,<26.0.0"
aiofiles = ">=25.1.0,<26.0.0"
ruff = "<1.0.0"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest]
addopts = ["-ra", "-q"]
testpaths = [
"tests/unit",
]
anyio_mode = "auto"
pythonpath = [
"src"
]