Skip to content
This repository was archived by the owner on Dec 20, 2018. It is now read-only.

Commit b84967f

Browse files
committed
bump version for deprecated lib, add readme on pypi
1 parent bcf7255 commit b84967f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

setup.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88

99
from setuptools import setup, find_packages
1010

11+
from codecs import open
12+
from os import path
13+
14+
here = path.abspath(path.dirname(__file__))
15+
16+
# Get the long description from the README file
17+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
18+
long_description = f.read()
19+
1120
classifiers = ['Development Status :: 4 - Beta',
1221
'Operating System :: POSIX :: Linux',
1322
'License :: OSI Approved :: MIT License',
@@ -18,7 +27,7 @@
1827
'Topic :: System :: Hardware']
1928

2029
setup(name = 'Adafruit_CCS811',
21-
version = '0.1',
30+
version = '0.2',
2231
author = 'Dean Miller',
2332
author_email = '[email protected]',
2433
description = 'Python library to use the CCS811 air quality sensor with raspberry pi or other linux boards.',
@@ -27,4 +36,7 @@
2736
url = 'https://github.com/adafruit/Adafruit_CCS811_python/',
2837
dependency_links = ['https://github.com/adafruit/Adafruit_Python_GPIO/tarball/master#egg=Adafruit-GPIO-0.6.5'],
2938
install_requires = ['Adafruit-GPIO>=0.6.5', 'Adafruit-bitfield>=1.5'],
30-
packages = find_packages())
39+
packages = find_packages(),
40+
41+
long_description = long_description,
42+
long_description_content_type = 'text/markdown')

0 commit comments

Comments
 (0)