|
3 | 3 | from setuptools import setup |
4 | 4 |
|
5 | 5 | 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() |
7 | 7 | except IOError: |
8 | | - descr = '' |
| 8 | + descr = "" |
9 | 9 |
|
10 | 10 | try: |
11 | 11 | from pypandoc import convert |
12 | | - descr = convert(descr, 'rst', format='md') |
| 12 | + |
| 13 | + descr = convert(descr, "rst", format="md") |
13 | 14 | except ImportError: |
14 | 15 | pass |
15 | 16 |
|
16 | | -setup(name='slicerator', |
17 | | - version=versioneer.get_version(), |
18 | | - author='Daniel B. Allan', |
19 | | - |
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 | + |
| 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