-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (39 loc) · 1.46 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
import re
import ast
from setuptools import setup
from flask_pluginkit_valine import __version__, __author__, __license__, __description__
def _get_author():
mail_re = re.compile(r'(.*)\s<(.*)>')
return (mail_re.search(__author__).group(1), mail_re.search(__author__).group(2))
(author, email) = _get_author()
setup(
name='flask-pluginkit-valine',
version=__version__,
license=__license__,
author=author,
author_email=email,
url='https://github.com/flask-pluginkit/flask-pluginkit-valine',
download_url="https://github.com/flask-pluginkit/flask-pluginkit-valine",
keywords="flask-pluginkit",
description=__description__,
packages=['flask_pluginkit_valine',],
zip_safe=False,
include_package_data=True,
install_requires=[
'Flask-PluginKit>=2.4.0',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)