Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit a1d7a28

Browse files
committed
Use setup.cfg for long_description
1 parent 444603f commit a1d7a28

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
universal=1
33

44
[metadata]
5-
description-file = README.md
5+
long_description = file: README.md
6+
long_description_content_type = text/markdown

setup.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
io.open('adal/__init__.py', encoding='utf_8_sig').read()
3636
).group(1)
3737

38-
try:
39-
long_description = open('README.md').read()
40-
except OSError:
41-
long_description = "README.md is not accessible on TRAVIS CI's Python 3.5"
42-
4338
# To build:
4439
# python setup.py sdist
4540
# python setup.py bdist_wheel
@@ -67,10 +62,8 @@
6762
author='Microsoft Corporation',
6863
author_email='[email protected]',
6964
url='https://github.com/AzureAD/azure-activedirectory-library-for-python',
70-
long_description=long_description,
71-
long_description_content_type="text/markdown",
7265
classifiers=[
73-
'Development Status :: 5 - Production/Stable',
66+
'Development Status :: 6 - Mature',
7467
'Programming Language :: Python',
7568
'Programming Language :: Python :: 2',
7669
'Programming Language :: Python :: 2.7',

0 commit comments

Comments
 (0)