-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
47 lines (44 loc) · 1.55 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
from pathlib import Path
from setuptools import find_packages, setup
PROJ_DIR = Path(__file__).resolve().parent
with open(PROJ_DIR / "README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
name="mkdocs-d2-plugin",
version="1.6.0",
description="MkDocs plugin for D2",
long_description=long_description,
long_description_content_type="text/markdown",
keywords="mkdocs python markdown d2 diagram",
url="https://github.com/landmaj/mkdocs-d2-plugin",
author="Michał Wieluński",
author_email="michal@wielunski.net",
license="MIT",
python_requires=">=3.9",
install_requires=[
"mkdocs>=1.6.0",
"pymdown-extensions>=9.0",
"pydantic>=2.0",
"packaging",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
packages=find_packages(),
package_data={"d2.css": ["mkdocs_d2_plugin.css"]},
include_package_data=True,
entry_points={
"mkdocs.plugins": ["d2 = d2.plugin:Plugin"],
"markdown.extensions": ["d2_img = d2.img:D2ImgExtension"],
},
)