File: setup.py

package info (click to toggle)
slicerator 1.1.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 208 kB
  • sloc: python: 1,165; makefile: 159
file content (38 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download | duplicates (2)
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="daniel.b.allan@gmail.com",
    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",
)