/
setup.py
34 lines (27 loc) · 1.1 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
from setuptools import setup, find_packages
from os import path
VERSION = "v0.5.0"
HERE = path.dirname(__file__)
with open(path.join(HERE, "README.md"), "r", encoding="utf-8") as f:
long_description = f.read().replace("\r", "")
with open("requirements.txt") as f:
install_requires = [line.strip() for line in f if line.strip()]
setup(
name="blatann",
version=VERSION.lstrip("v"), # Remove the leading v, pip doesn't like that
description="Python BLE library for using Nordic nRF52 with Connectivity firmware",
url="https://github.com/ThomasGerstenberg/blatann",
author="Thomas Gerstenberg",
author_email="tgerst6@gmail.com",
keywords="ble bluetooth nrf52 nordic",
packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=install_requires,
python_requires=">=3.7",
long_description_content_type="text/markdown",
long_description=long_description,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
)