-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
38 lines (34 loc) · 1.06 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import os
import versioneer
from setuptools import setup
try:
descr = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
except IOError:
descr = ""
try:
from pypandoc import convert
descr = convert(descr, "rst", format="md")
except ImportError:
pass
setup(
name="slicerator",
version=versioneer.get_version(),
author="Daniel B. Allan",
author_email="[email protected]",
packages=["slicerator"],
description="A lazy-loading, fancy-sliceable iterable.",
url="http://github.com/soft-matter/slicerator",
cmdclass=versioneer.get_cmdclass(),
platforms="Cross platform (Linux, Mac OSX, Windows)",
license="BSD",
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
long_description=descr,
long_description_content_type="text/markdown",
)