-
Notifications
You must be signed in to change notification settings - Fork 185
/
setup.py
42 lines (39 loc) · 1.35 KB
/
setup.py
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
__title__ = "pygatt"
__version__ = "5.0.0"
__license__ = "Apache License, Version 2.0 and MIT License"
__copyright__ = "Copyright 2015 Stratos Inc. and Orion Labs"
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup # pylint: disable=F0401,E0611
with open("README.rst") as f:
readme = f.read()
with open("CHANGELOG.rst") as f:
changelog = f.read()
setup(
name=__title__,
version=__version__,
description="Python Bluetooth LE (Low Energy) and GATT Library",
author="Chris Peplin <[email protected]>",
author_email="[email protected]",
packages=find_packages(exclude=("tests", "tests.*")),
package_data={"": ["LICENSE"]},
license="Apache 2.0 and MIT",
long_description=readme + "\n\n" + changelog,
url="https://github.com/peplin/pygatt",
install_requires=["pyserial", "enum-compat"],
setup_requires=["coverage == 5.5", "pytest == 8.3.2"],
extras_require={
"GATTTOOL": ["pexpect"],
},
package_dir={"pygatt": "pygatt"},
zip_safe=False,
include_package_data=True,
classifiers=(
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
),
)