Skip to content

Commit 23cc36c

Browse files
committed
use only markdown readme
1 parent 4b257aa commit 23cc36c

File tree

2 files changed

+12
-43
lines changed

2 files changed

+12
-43
lines changed

README.rst

Lines changed: 0 additions & 25 deletions
This file was deleted.

setup.py

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
1-
import setuptools
1+
from setuptools import setup, find_packages
22

33
import versioneer
44

55

6-
try:
7-
with open('README.rst') as f:
8-
long_description = f.read()
9-
except IOError:
10-
long_description = ""
11-
12-
13-
setuptools.setup(
14-
name='stdlib-list',
15-
license='MIT',
16-
author='Jack Maney',
17-
author_email='[email protected]',
18-
url='https://github.com/jackmaney/python-stdlib-list',
6+
setup(
7+
name="stdlib-list",
8+
license="MIT",
9+
author="Jack Maney",
10+
author_email="[email protected]",
11+
url="https://github.com/jackmaney/python-stdlib-list",
1912
version=versioneer.get_version(),
20-
install_requires=['functools32;python_version<"3.2"'],
13+
install_requires=["functools32;python_version<'3.2'"],
2114
extras_require={"develop": ["sphinx"]},
22-
description='A list of Python Standard Libraries (2.6-7, 3.2-6).',
23-
long_description=long_description,
15+
description="A list of Python Standard Libraries (2.6-7, 3.2-6).",
16+
long_description=f'{read("README.md")}',
17+
long_description_content_type="text/markdown",
2418
include_package_data=True,
25-
packages=setuptools.find_packages(),
19+
packages=find_packages(),
2620
cmdclass=versioneer.get_cmdclass(),
2721
)

0 commit comments

Comments
 (0)