-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (44 loc) · 1.2 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
from setuptools import setup
import os
def read_version():
here = os.path.abspath(os.path.dirname(__file__))
version_file = os.path.join(here, 'mqttapi', '__version__.py')
namespace = {}
with open(version_file, 'r') as f:
exec(f.read(), namespace)
return namespace['__version__']
setup(
name='mqttapi',
version=read_version(),
description='simplified mqtt library',
author='Davi Luna',
author_email='Sdavi738@gmail.com',
packages=['mqttapi'],
install_requires=[
'mysql-connector-python',
'paho-mqtt',
'asyncio',
'websockets',
'websocket'
],
keywords=[
"mqtt api",
"mosquitto api",
"real-time",
"messaging",
"simplified mqtt",
"paho-mqtt api",
"MQTT",
"mqtt",
],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
url='https://github.com/davisouzaluna/mqttapi',
)