|
| 1 | +#!/usr/bin/env python3 |
| 2 | +# Copyright (c) 2020 embyt GmbH. See LICENSE for further details. |
| 3 | +# Author: Roman Morawek <roman.morawek@embyt.com> |
1 | 4 | """setup module for enoceanmqtt"""
|
2 |
| - |
3 |
| -# prefer setuptools over distutils |
4 |
| -from setuptools import setup, find_packages |
| 5 | +import setuptools |
5 | 6 |
|
6 | 7 | # needed packages
|
7 | 8 | REQUIRES = [
|
8 | 9 | 'enocean',
|
9 | 10 | 'paho-mqtt',
|
10 | 11 | ]
|
11 | 12 |
|
12 |
| -setup( |
13 |
| - name='enoceanmqtt', |
| 13 | +with open("README.md", "r") as fh: |
| 14 | + long_description = fh.read() |
| 15 | + |
| 16 | +setuptools.setup( |
| 17 | + name='enocean-mqtt', |
14 | 18 | version='0.1.0',
|
15 |
| - description='', |
16 |
| - url='http://romor.github.io/enocean-mqtt', |
17 | 19 | author='Roman Morawek',
|
18 |
| - author_email='maemo@morawek.at', |
| 20 | + author_email='roman.morawek@embyt.com', |
| 21 | + description='Receives messages from an enOcean serial interface (USB) and provides selected messages to an MQTT broker.', |
| 22 | + long_description=long_description, |
| 23 | + long_description_content_type="text/markdown", |
| 24 | + url='https://github.com/embyt/enocean-mqtt', |
19 | 25 | license='GPLv3',
|
20 | 26 |
|
21 | 27 | # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
22 | 28 | classifiers=[
|
23 |
| - 'Development Status :: 3 - Alpha', |
| 29 | + 'Development Status :: 4 - Beta', |
24 | 30 | 'Intended Audience :: Developers',
|
25 | 31 | 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
26 | 32 | 'Programming Language :: Python :: 3',
|
27 |
| - 'Programming Language :: Python :: 3.4', |
28 |
| - 'Programming Language :: Python :: 3.5', |
29 | 33 | ],
|
30 | 34 | keywords='enOcean MQTT IoT',
|
31 |
| - packages=find_packages(exclude=['contrib', 'docs', 'tests*']), |
| 35 | + packages=setuptools.find_packages(exclude=['contrib', 'docs', 'tests*']), |
32 | 36 | install_requires=REQUIRES,
|
33 | 37 |
|
34 | 38 | # To provide executable scripts, use entry points in preference to the
|
|
0 commit comments