-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
40 lines (35 loc) · 1.49 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
39
40
import os.path as path
from setuptools import setup
def get_readme(filename):
if not path.exists(filename):
return ""
with open(path.join(path.dirname(__file__), filename)) as readme:
content = readme.read()
return content
setup(name="mdx_truly_sane_lists",
version="1.3",
author='radude',
author_email='admin@rentry.co',
description="Extension for Python-Markdown that makes lists truly sane. Custom indents for nested lists and fix for messy linebreaks.",
license="MIT",
keywords=["markdown extension", 'markup', 'lists', 'markdown'],
url="https://github.com/radude/mdx_truly_sane_lists",
packages=["mdx_truly_sane_lists"],
long_description=get_readme("README.md"),
long_description_content_type='text/markdown',
classifiers=[
"Topic :: Text Processing :: Markup",
"Topic :: Text Processing :: Markup :: Markdown",
"Topic :: Utilities",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
],
install_requires=["Markdown>=2.6"],
test_suite="mdx_truly_sane_lists.tests")