-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
28 lines (25 loc) · 794 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
#!/usr/bin/env python
from setuptools import setup
import re
script = 'pandoc-inline-image'
script_content = open(script).read()
metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", script_content))
setup(
name=script,
version=metadata['version'],
description=metadata['description'],
url="https://github.com/igsha/pandoc-inline-image",
author="igsha",
license="LICENSE",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Programming Language :: Python",
"Topic :: Text Processing"
],
scripts=[script],
install_requires=['panflute >= 1.10.6'],
)