diff --git a/README.md b/README.md index 7b25b67..f3982ad 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,18 @@ -# Adafruit Python TCS34725 +# DEPRECATED LIBRARY Adafruit Python TCS34725 + +This library has been deprecated! + +We are now only using our CircuitPython sensor libraries in Python. + +We are leaving the code up for historical/research purposes but archiving the +repository. + +Check out this guide for using the TCS34725 with Python! + +https://learn.adafruit.com/adafruit-color-sensors/python-circuitpython + +---- + Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black. ## Installation diff --git a/setup.py b/setup.py index 79a7c6b..523d81e 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,15 @@ from setuptools import setup, find_packages +from codecs import open +from os import path + +here = path.abspath(path.dirname(__file__)) + +# Get the long description from the README file +with open(path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + classifiers = ['Development Status :: 4 - Beta', 'Operating System :: POSIX :: Linux', 'License :: OSI Approved :: MIT License', @@ -18,7 +27,7 @@ 'Topic :: System :: Hardware'] setup(name = 'Adafruit_TCS34725', - version = '1.0.1', + version = '1.0.3', author = 'Tony DiCola', author_email = 'tdicola@adafruit.com', description = 'Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black.', @@ -27,4 +36,7 @@ url = 'https://github.com/adafruit/Adafruit_Python_TCS34725/', dependency_links = ['https://github.com/adafruit/Adafruit_Python_GPIO/tarball/master#egg=Adafruit-GPIO-0.6.5'], install_requires = ['Adafruit-GPIO>=0.6.5'], - packages = find_packages()) + packages = find_packages(), + + long_description = long_description, + long_description_content_type = 'text/markdown')