-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (44 loc) · 1.34 KB
/
Copy pathpyproject.toml
File metadata and controls
52 lines (44 loc) · 1.34 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "clipshot"
version = "0.1.0"
description = "CleanShot-class screenshots for Linux / Wayland (GNOME-first)"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
authors = [{ name = "Florin Hrib", email = "florinhrib@gmail.com" }]
# Runtime pip-installable dependencies.
# PyGObject (gi) MUST come from the OS package manager — NOT pip.
# Fedora: sudo dnf install python3-gobject gtk4 libadwaita
# Debian: sudo apt install python3-gi gir1.2-gtk-4.0 gir1.2-adw-1
# Arch: sudo pacman -S python-gobject gtk4 libadwaita
# Do NOT add "PyGObject" here; the pip wheel is broken on most distros.
dependencies = [
"pillow>=10.0",
"dasbus>=1.6",
]
[project.optional-dependencies]
dev = ["pytest>=8.0", "pytest-cov"]
[project.scripts]
clipshot = "clipshot.app:main"
[project.entry-points."clipshot.plugins"]
# placeholder for future plugin discovery
[tool.setuptools.packages.find]
where = ["."]
include = ["clipshot*", "extension*"]
[tool.setuptools.package-data]
"clipshot" = ["py.typed"]
"*" = [
"data/*.desktop",
"data/*.service",
"data/icons/*.svg",
"data/icons/*.png",
"extension/metadata.json",
"extension/*.js",
"presets/**/*.json",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v"