Skip to content

Commit 2360a02

Browse files
committed
BLD: update description content type
1 parent c3ff508 commit 2360a02

File tree

1 file changed

+26
-22
lines changed

1 file changed

+26
-22
lines changed

setup.py

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,36 @@
33
from setuptools import setup
44

55
try:
6-
descr = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
6+
descr = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
77
except IOError:
8-
descr = ''
8+
descr = ""
99

1010
try:
1111
from pypandoc import convert
12-
descr = convert(descr, 'rst', format='md')
12+
13+
descr = convert(descr, "rst", format="md")
1314
except ImportError:
1415
pass
1516

16-
setup(name='slicerator',
17-
version=versioneer.get_version(),
18-
author='Daniel B. Allan',
19-
author_email='[email protected]',
20-
packages=['slicerator'],
21-
description='A lazy-loading, fancy-sliceable iterable.',
22-
url='http://github.com/soft-matter/slicerator',
23-
cmdclass=versioneer.get_cmdclass(),
24-
platforms='Cross platform (Linux, Mac OSX, Windows)',
25-
license="BSD",
26-
classifiers=['Development Status :: 4 - Beta',
27-
'Programming Language :: Python :: 3',
28-
'Programming Language :: Python :: 3.7',
29-
'Programming Language :: Python :: 3.8',
30-
'Programming Language :: Python :: 3.9',
31-
'Programming Language :: Python :: 3.10',
32-
],
33-
long_description=descr,
34-
)
17+
setup(
18+
name="slicerator",
19+
version=versioneer.get_version(),
20+
author="Daniel B. Allan",
21+
author_email="[email protected]",
22+
packages=["slicerator"],
23+
description="A lazy-loading, fancy-sliceable iterable.",
24+
url="http://github.com/soft-matter/slicerator",
25+
cmdclass=versioneer.get_cmdclass(),
26+
platforms="Cross platform (Linux, Mac OSX, Windows)",
27+
license="BSD",
28+
classifiers=[
29+
"Development Status :: 4 - Beta",
30+
"Programming Language :: Python :: 3",
31+
"Programming Language :: Python :: 3.7",
32+
"Programming Language :: Python :: 3.8",
33+
"Programming Language :: Python :: 3.9",
34+
"Programming Language :: Python :: 3.10",
35+
],
36+
long_description=descr,
37+
long_description_content_type="text/markdown",
38+
)

0 commit comments

Comments
 (0)