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

Commit b79cddb

Browse files
committed
1.6.2: adding deprecation notice to readme on pypi
1 parent 966b764 commit b79cddb

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

setup.py

+14-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,27 @@
66
# Ignore import error and assume Python 3 which already has setuptools.
77
pass
88

9+
from codecs import open
10+
from os import path
11+
12+
here = path.abspath(path.dirname(__file__))
13+
14+
# Get the long description from the README file
15+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
16+
long_description = f.read()
17+
918
from setuptools import setup, find_packages
1019

1120
setup(name = 'Adafruit_TMP',
12-
version = '1.6.1',
21+
version = '1.6.2',
1322
author = 'Tony DiCola',
1423
author_email = 'tdicola@adafruit.com',
1524
description = 'Library for accessing the TMP006 & TMP007 non-contact temperature sensor on a Raspberry Pi or Beaglebone Black.',
1625
license = 'MIT',
1726
url = 'https://github.com/adafruit/Adafruit_Python_TMP/',
1827
dependency_links = ['https://github.com/adafruit/Adafruit_Python_GPIO/tarball/master#egg=Adafruit-GPIO-0.6.5'],
1928
install_requires = ['Adafruit-GPIO>=0.6.5'],
20-
packages = find_packages())
29+
packages = find_packages(),
30+
31+
long_description = long_description,
32+
long_description_content_type = 'text/markdown')

0 commit comments

Comments
 (0)