File: pyproject.toml

package info (click to toggle)
bleak 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,832 kB
  • sloc: python: 10,660; makefile: 165; java: 105
file content (80 lines) | stat: -rw-r--r-- 3,089 bytes parent folder | download
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
[project]
name = "bleak"
version = "2.0.0"
description = "Bluetooth Low Energy platform Agnostic Klient"
authors = [{ name = "Henrik Blidh", email = "henrik.blidh@nedomkull.com" }]
license = "MIT"
readme = "README.rst"
requires-python = ">=3.10"
dynamic = ["classifiers", "dependencies"]

[project.urls]
"Homepage"      = "https://github.com/hbldh/bleak"
"Documentation" = "https://bleak.readthedocs.io"
"Changelog"     =  "https://github.com/hbldh/bleak/blob/develop/CHANGELOG.rst"
"Support"       =  "https://github.com/hbldh/bleak/discussions"
"Issues"        =  "https://github.com/hbldh/bleak/issues"

[tool.poetry]
classifiers = [
    "Development Status :: 4 - Beta",
    "Framework :: AsyncIO",
    "Operating System :: Microsoft :: Windows :: Windows 10",
    "Operating System :: POSIX :: Linux",
    "Operating System :: MacOS :: MacOS X",
    "Operating System :: Android",
]

[tool.poetry.dependencies]
async-timeout = { version = ">=3.0.0", python = "<3.11" }
typing-extensions = { version = ">=4.7.0", python = "<3.12" }
pyobjc-core = { version = ">=10.3", markers = "platform_system=='Darwin'" }
pyobjc-framework-CoreBluetooth = { version = ">=10.3", markers = "platform_system=='Darwin'" }
pyobjc-framework-libdispatch = { version = ">=10.3", markers = "platform_system=='Darwin'" }
"winrt-runtime" = { version = ">=3.1", markers = "platform_system=='Windows'" }
"winrt-Windows.Devices.Bluetooth" = { version = ">=3.1", markers = "platform_system=='Windows'" }
"winrt-Windows.Devices.Bluetooth.Advertisement" = { version = ">=3.1", markers = "platform_system=='Windows'" }
"winrt-Windows.Devices.Bluetooth.GenericAttributeProfile" = { version = ">=3.1", markers = "platform_system=='Windows'" }
"winrt-Windows.Devices.Enumeration" = { version = ">=3.1", markers = "platform_system=='Windows'" }
"winrt-Windows.Devices.Radios" = { version = ">=3.1", markers = "platform_system=='Windows'" }
"winrt-Windows.Foundation" = { version = ">=3.1", markers = "platform_system=='Windows'" }
"winrt-Windows.Foundation.Collections" = { version = ">=3.1", markers = "platform_system=='Windows'" }
"winrt-Windows.Storage.Streams" = { version = ">=3.1", markers = "platform_system=='Windows'" }
dbus-fast = { version = ">=1.83.0", markers = "platform_system == 'Linux'" }

[project.optional-dependencies]
pythonista = ["bleak-pythonista>=0.1.1"]

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
Sphinx = { version = ">=8.2.3", python = ">=3.11" }
sphinx-rtd-theme = { version = ">=3.0.2", python = ">=3.11" }

[tool.poetry.group.lint.dependencies]
black = ">=24.3,<25.0"
flake8 = "^7.1.1"
isort = "^5.13.2"

[tool.poetry.group.test.dependencies]
pytest = "^8.2.1"
pytest-asyncio = "^0.23.7"
pytest-cov = "^3.0.0 "

[tool.poetry.scripts]
bleak = 'bleak:cli'

[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.isort]
profile = "black"
py_version=310
src_paths = ["bleak", "examples", "tests"]
extend_skip = [".buildozer", "docs"]

[tool.mypy]
python_version = "3.10"
disable_error_code = ["import-not-found"]