Skip to content

Commit cea6e83

Browse files
committed
1.0.2: deprecation notice in readme; readme on pypi
1 parent 6306f90 commit cea6e83

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
# Adafruit Python TCS34725
1+
# DEPRECATED LIBRARY Adafruit Python TCS34725
2+
3+
This library has been deprecated!
4+
5+
We are now only using our CircuitPython sensor libraries in Python.
6+
7+
We are leaving the code up for historical/research purposes but archiving the
8+
repository.
9+
10+
Check out this guide for using the TCS34725 with Python!
11+
12+
https://learn.adafruit.com/adafruit-color-sensors/python-circuitpython
13+
14+
----
15+
216
Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black.
317

418
## Installation

setup.py

+14-2
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_TCS34725',
21-
version = '1.0.1',
30+
version = '1.0.2',
2231
author = 'Tony DiCola',
2332
author_email = 'tdicola@adafruit.com',
2433
description = 'Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black.',
@@ -27,4 +36,7 @@
2736
url = 'https://github.com/adafruit/Adafruit_Python_TCS34725/',
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'],
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)