-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (64 loc) · 2.26 KB
/
setup.py
File metadata and controls
66 lines (64 loc) · 2.26 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
import setuptools # type: ignore
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="bless",
version="0.3.0", # Bumped version for Bleak v1.1.1 compatibility
author="Kevin Davis",
author_email="kevincarrolldavis@gmail.com",
description="A Bluetooth Low Energy Server supplement to Bleak",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/kevincar/bless",
package_data={"bless": ["py.typed"]},
packages=setuptools.find_packages(exclude=("test", "examples")),
include_package_data=True,
install_requires=[
"bleak>=1.1.1", # Updated to require Bleak v1.1.1+
"coloredlogs",
"pywin32;platform_system=='Windows'",
"dbus_next;platform_system=='Linux'",
(
"pysetupdi @ git+https://github.com/gwangyi/pysetupdi ; "
"platform_system=='Windows'"
),
(
'bleak-winrt>=1.2.0; platform_system=="Windows" and '
'python_version<"3.12"'
),
(
'winrt-Windows.Devices.Bluetooth==3.1; '
'platform_system=="Windows" and python_version>="3.12"'
),
(
'winrt-Windows.Devices.Bluetooth.Advertisement==3.1; '
'platform_system=="Windows" and python_version>="3.12"'
),
(
'winrt-Windows.Devices.Bluetooth.GenericAttributeProfile==3.1; '
'platform_system=="Windows" and python_version>="3.12"'
),
(
'winrt-Windows.Devices.Enumeration==3.1; '
'platform_system=="Windows" and python_version>="3.12"'
),
(
'winrt-Windows.Foundation==3.1; '
'platform_system=="Windows" and python_version>="3.12"'
),
(
'winrt-Windows.Foundation.Collections==3.1; '
'platform_system=="Windows" and python_version>="3.12"'
),
(
'winrt-Windows.Storage.Streams==3.1; '
'platform_system=="Windows" and python_version>="3.12"'
),
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)