-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
31 lines (28 loc) · 842 Bytes
/
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
# setup.py
import os
from setuptools import setup, find_packages
def read_file(fname):
"Read a local file"
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mkdocs-img2fig-plugin',
version='0.9.3',
description='A MkDocs plugin that converts markdown encoded images into <figure> elements.',
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
keywords='mkdocs python markdown',
url='https://github.com/stuebersystems/mkdocs-img2fig-plugin',
author='Antonio Cambule',
author_email='antonio.cambule@stueber.de',
license='MIT',
python_requires='>=3.5',
install_requires=[
'mkdocs'
],
packages=find_packages(),
entry_points={
'mkdocs.plugins': [
'img2fig = src:Image2FigurePlugin',
]
}
)