forked from HaoLiuHust/mkdocs-mk2pdf-plugin
-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
executable file
·40 lines (35 loc) · 1.41 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
from setuptools import setup, find_packages
from pathlib import Path
this_directory = Path(__file__).resolve().parent
def read_file(filename):
with open(str(this_directory / filename), encoding="utf-8") as f:
long_description = f.read()
return long_description
setup(
name="mkdocs-pandoc-plugin",
version="1.0.1",
description="An MkDocs plugin to export content pages to any files that pandoc can handle",
long_description=read_file("README.md"),
long_description_content_type="text/markdown",
keywords="mkdocs pandoc export",
url="https://github.com/alexandre-perrin/mkdocs-pandoc-plugin",
author="Alexandre, Perrin",
author_email="[email protected]",
license="MIT",
python_requires=">=3.4",
install_requires=["mkdocs", "beautifulsoup4"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
packages=find_packages(),
entry_points={"mkdocs.plugins": ["pandoc = mkdocs_pandoc.plugin:PandocPlugin"]},
)