forked from ChristianKuehnel/plantgateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 989 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
##############################################
#
# This is open source software licensed under the Apache License 2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
##############################################
"""Setup for plantgateway."""
from setuptools import setup
from plantgw import __version__
def readme():
"""Load the readme file."""
with open('README.md', 'r') as readme_file:
return readme_file.read()
setup(
name='plantgateway',
version=__version__,
description='Bluetooth to mqtt gateway for Xiaomi Mi plant sensors',
long_description=readme(),
long_description_content_type='text/markdown',
author='Christian Kühnel',
author_email='christian.kuehnel@gmail.com',
url='https://www.python.org/sigs/distutils-sig/',
packages=['plantgw'],
install_requires=['bluepy==1.3.0', 'paho-mqtt', 'pyyaml>=5.1', 'miflora==0.6', 'typing>=3,<4'],
scripts=['plantgateway'],
)