forked from fralau/mkdocs-mermaid2-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·63 lines (55 loc) · 1.83 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
from setuptools import setup, find_packages
VERSION = '1.0.3'
# required if you want to run tests
# pip install 'mkdocs-mermaid2-plugin[test]'
TEST_REQUIRE = ['mkdocs-material']
def readme():
"""print long description"""
with open('README.md') as f:
return f.read()
LONG_DESCRIPTION = (
"A mkdocs plugin that interprets mermaid graphs in the markdown file."
"To install, please follow instructions in the readme file."
"This is a fork of the Pugong Liu's excellent project, "
"which is no longer maintained."
)
setup(
name='mkdocs-mermaid2-plugin',
version=VERSION,
description='A MkDocs plugin for including mermaid graphs in markdown sources',
long_description=LONG_DESCRIPTION,
keywords='mkdocs python markdown mermaid',
url='https://github.com/fralau/mkdocs-mermaid2-plugin',
author='pugong, Fralau',
author_email='pugong.liu@gmail.com, fralau2035@yahoo.com',
license='MIT',
python_requires='>=3.5',
install_requires=[
'setuptools>=18.5',
'beautifulsoup4>=4.6.3',
'mkdocs>=1.0.4',
'jsbeautifier',
'requests',
'pymdown-extensions >= 8.0'
],
extras_require={
'test': TEST_REQUIRE,
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
],
packages=find_packages(exclude=['*.tests']),
entry_points={
'mkdocs.plugins': [
'mermaid2 = mermaid2.plugin:MarkdownMermaidPlugin'
]
}
)