Skip to content

Commit cd1983f

Browse files
author
Open Home Automation
authored
Merge pull request #94 from ChristianKuehnel/doc
updated setup.py
2 parents 15171fa + 60da523 commit cd1983f

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ matrix:
77
include:
88
- python: "2.7"
99
env: TOXENV=py27
10-
- python: "3.4.2"
10+
- python: "3.4"
1111
env: TOXENV=py34
1212
- python: "3.5"
1313
env: TOXENV=py35

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
bluepy==1.1.4
22
pygatt==3.2.0
3-
btlewrap==0.0.1
3+
btlewrap==0.0.2

setup.py

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
11
"""Python package description."""
2+
import os
23
from setuptools import setup, find_packages
34

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+
413
setup(
514
name='miflora',
6-
version='0.3',
15+
version='0.4',
716
description='Library to read data from Mi Flora sensor',
17+
long_description=readme(),
18+
long_description_content_type='text/markdown',
819
url='https://github.com/open-homeautomation/miflora',
920
author='Daniel Matuschek',
1021
author_email='[email protected]',
1122
license='MIT',
1223
classifiers=[
13-
'Development Status :: 3 - Alpha',
24+
'Development Status :: 5 - Production/Stable',
1425
'Intended Audience :: Developers',
1526
'Topic :: System :: Hardware :: Hardware Drivers',
1627
'License :: OSI Approved :: MIT License',
@@ -21,6 +32,6 @@
2132
packages=find_packages(),
2233
keywords='plant sensor bluetooth low-energy ble',
2334
zip_safe=False,
24-
install_requires=['btlewrap==0.0.1'],
35+
install_requires=['btlewrap==0.0.2'],
2536
extras_require={'testing': ['pytest']}
2637
)

0 commit comments

Comments
 (0)