forked from mkdocs/mkdocs-redirects
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
58 lines (52 loc) · 1.68 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
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
test_requirements = [
'pytest<5', # py2 compatibility
]
release_requirements = [
'twine>=1.13.0,<2', # py2 compatibility
]
setup(
name='mkdocs-redirects',
version='1.0.4b0',
description='A MkDocs plugin for dynamic page redirects to prevent broken links.',
long_description=read('README.md'),
long_description_content_type="text/markdown",
keywords='mkdocs redirect',
url='https://github.com/datarobot/mkdocs-redirects',
author='Dustin Burke',
author_email='[email protected]',
license='MIT',
python_requires='>=2.7',
install_requires=[
'mkdocs>=1.0.4,<2',
'six>=1.15.0,<2',
],
extras_require={
'dev': test_requirements + release_requirements,
'test': test_requirements,
'release': release_requirements,
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'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': [
'redirects = mkdocs_redirects.plugin:RedirectPlugin'
]
}
)