-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (39 loc) · 1.33 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
from setuptools import setup, find_packages
import mkdocs_document_dates
try:
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
except FileNotFoundError:
long_description = "A MkDocs plugin for displaying accurate document creation and last modification dates."
VERSION = '2.3.2'
setup(
name="mkdocs-document-dates",
version=VERSION,
author="Aaron Wang",
description="A MkDocs plugin for displaying accurate document creation and last modification dates.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jaywhj/mkdocs-document-dates",
packages=find_packages(),
install_requires=[
'mkdocs>=1.0.0',
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
'mkdocs.plugins': [
'document-dates = mkdocs_document_dates.plugin:DocumentDatesPlugin',
],
'console_scripts': [
# 提供手动执行 hooks 安装的入口
'mkdocs-document-dates-hooks=mkdocs_document_dates.hooks_installer:install'
],
},
package_data={
'mkdocs_document_dates': ['hooks/*'],
},
python_requires=">=3.7",
)