-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
34 lines (30 loc) · 1.13 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
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_linkify",
version="2.1",
author="Raitis (daGrevis) Stengrevics",
author_email="[email protected]",
description="Link recognition for Python Markdown",
license="MIT",
keywords="markdown links",
url="https://github.com/daGrevis/mdx_linkify",
packages=["mdx_linkify"],
long_description=get_readme("README.md"),
long_description_content_type="text/markdown",
classifiers=[
"Topic :: Text Processing :: Markup",
"Topic :: Utilities",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: PyPy",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
],
install_requires=["Markdown>=3.0", "bleach>=3.1.0"],
test_suite="mdx_linkify.tests")