|
1 | 1 | """Python package description."""
|
| 2 | +import os |
2 | 3 | from setuptools import setup, find_packages
|
3 | 4 |
|
| 5 | + |
| 6 | +def readme(): |
| 7 | + """Load the readme file.""" |
| 8 | + readme_path = os.path.join(os.path.dirname(__file__), 'README.md') |
| 9 | + with open(readme_path, 'r') as readme_file: |
| 10 | + return readme_file.read() |
| 11 | + |
| 12 | + |
4 | 13 | setup(
|
5 | 14 | name='miflora',
|
6 |
| - version='0.3', |
| 15 | + version='0.4', |
7 | 16 | description='Library to read data from Mi Flora sensor',
|
| 17 | + long_description=readme(), |
| 18 | + long_description_content_type='text/markdown', |
8 | 19 | url='https://github.com/open-homeautomation/miflora',
|
9 | 20 | author='Daniel Matuschek',
|
10 | 21 |
|
11 | 22 | license='MIT',
|
12 | 23 | classifiers=[
|
13 |
| - 'Development Status :: 3 - Alpha', |
| 24 | + 'Development Status :: 5 - Production/Stable', |
14 | 25 | 'Intended Audience :: Developers',
|
15 | 26 | 'Topic :: System :: Hardware :: Hardware Drivers',
|
16 | 27 | 'License :: OSI Approved :: MIT License',
|
|
21 | 32 | packages=find_packages(),
|
22 | 33 | keywords='plant sensor bluetooth low-energy ble',
|
23 | 34 | zip_safe=False,
|
24 |
| - install_requires=['btlewrap==0.0.1'], |
| 35 | + install_requires=['btlewrap==0.0.2'], |
25 | 36 | extras_require={'testing': ['pytest']}
|
26 | 37 | )
|
0 commit comments