-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (82 loc) · 2.54 KB
/
pyproject.toml
File metadata and controls
98 lines (82 loc) · 2.54 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
94
95
96
97
98
[build-system]
requires = [
"setuptools>=61",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "bluedo"
authors = [
{name = "Lars Falk-Petersen", email = "dev@falkp.no"},
]
description = """Bluetooth proximity automation
Lock your desktop, mute music or run any other command when leaving your PC. There are other apps like this. This one just aims to make it beautiful, modern and easy.
Not all bluetooth devices works for this purpose. Some devices randomizes the bluetooth address as a privacy feature, some disconnects to save power. If you have trouble using your phone, try a headset, watch, etc.
Only Bluetooth is supported, not Bluetooth Low-Energy (BLE).
"""
keywords = ["desktop", "automation", "bluetooth"]
license = { text = "GPL-3.0-or-later" }
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Desktop Environment",
"Topic :: Desktop Environment :: Gnome",
"Topic :: Security",
"Environment :: X11 Applications :: Gnome",
"Operating System :: POSIX :: Linux",
"Natural Language :: English"
]
dependencies = [
"appdirs",
"configparser",
"PyGObject",
]
optional-dependencies.dev = [
"tox",
]
dynamic = ["version"]
urls.Documentation = "https://github.com/ways/BlueDo"
urls.Homepage = "https://github.com/ways/BlueDo"
urls.Issues = "https://github.com/ways/BlueDo/issues"
urls.Repository = "https://github.com/ways/BlueDo"
[project.scripts]
bluedo = "bluedo:main"
[tool.setuptools]
[tool.setuptools.package-data]
bluedo = [
"window.glade",
"images/bluedo.png",
"images/bluedo_indicator.svg",
"images/lock_animation.gif",
"images/phonelink*.svg",
"images/unlocked.png",
]
[tool.setuptools.packages.find]
include = ["bluedo"]
[tool.setuptools.data-files]
"share/applications" = ["applications/bluedo.desktop"]
"share/icons/hicolor/256x256/apps" = ["bluedo/images/bluedo.png"]
[tool.setuptools.dynamic]
version = {attr = "bluedo.__version__"}
[tool.ruff]
exclude = ["debian/*"]
[tool.ruff.lint]
fixable = ["I"]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM",# flake8-simplify
"I", # isort
]
ignore = [
"E402", # module-import-not-at-top-of-file (E402)
"E501", # Line too long
]