forked from wialon/gmqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (59 loc) · 1.79 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
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
#!/usr/bin/python3
import sys
from os import path
from setuptools import find_packages, setup
import gmqtt
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as readme:
long_description = readme.read()
extra = {}
if sys.version_info >= (3, 4):
extra["use_2to3"] = False
extra["convert_2to3_doctests"] = ["README.md"]
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
]
KEYWORDS = "Gurtam MQTT client."
TESTS_REQUIRE = [
"atomicwrites>=1.3.0",
"attrs>=19.1.0",
"codecov>=2.0.15",
"coverage>=4.5.3",
"more-itertools>=7.0.0",
"pluggy>=0.11.0",
"py>=1.8.0",
"pytest-asyncio>=0.12.0",
"pytest-cov>=2.7.1",
"pytest>=5.4.0",
"six>=1.12.0",
"uvloop>=0.14.0",
]
# Allow you to run pip install .[test] to get test dependencies included
EXTRAS_REQUIRE = {"test": TESTS_REQUIRE}
setup(
name="gmqtt",
version=gmqtt.__version__,
description="Client for MQTT protocol",
long_description=long_description,
long_description_content_type="text/markdown",
author=gmqtt.__author__,
author_email=gmqtt.__email__,
license='MIT',
url="https://github.com/wialon/gmqtt",
packages=find_packages(exclude=['examples', 'tests']),
download_url="https://github.com/wialon/gmqtt",
classifiers=CLASSIFIERS,
keywords=KEYWORDS,
zip_safe=True,
test_suite="tests",
install_requires=[],
tests_require=TESTS_REQUIRE,
extras_require=EXTRAS_REQUIRE,
python_requires='>=3.5',
)