Skip to content

Commit f33a42d

Browse files
committed
Make PyPI show readme with formatting
1 parent af0b8df commit f33a42d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[metadata]
22
description-file = README.md
3+
long_description = file: README.md
4+
long_description_content_type = text/markdown

setup.py

-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44

55
here = path.abspath(path.dirname(__file__))
66

7-
# long description from the README file
8-
9-
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
10-
long_description = f.read()
11-
127
# get the dependencies
138
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
149
all_reqs = f.read().split('\n')
@@ -25,7 +20,6 @@
2520
'A Python module for collection of common interactive command line user interfaces,'
2621
' based on Inquirer.js'
2722
),
28-
long_description=long_description,
2923
license='MIT',
3024
url='https://github.com/CITGuru/PyInquirer/',
3125
classifiers=[

0 commit comments

Comments
 (0)