-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
55 lines (48 loc) · 1.73 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
# coding: utf-8
__author__ = 'Paul Cunningham'
__copyright = 'Copyright 2017, Paul Cunningham'
import os
import re
from setuptools import setup, find_packages
DIRECTORY_NAME = os.path.dirname(__file__)
rel = lambda *parts: os.path.abspath(os.path.join(DIRECTORY_NAME, *parts))
with open(rel('flask_select2', '__init__.py')) as handler:
INIT_PY = handler.read()
INSTALL_REQUIRES = [
'Flask>=0.7',
'wtforms'
]
VERSION = re.findall("__version__ = '([^']+)'", INIT_PY)[0]
AUTHOR = re.findall("__author__ = '([^']+)'", INIT_PY)[0]
EMAIL = re.findall("__email__ = '([^']+)'", INIT_PY)[0]
LICENSE = re.findall("__license__ = '([^']+)'", INIT_PY)[0]
setup(
name='Flask-Select2',
packages=find_packages(),
include_package_data=True,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
install_requires=INSTALL_REQUIRES,
platforms='any',
description='Flask integration with Select2.js',
url='https://github.com/pjcunningham/Flask-Select2',
keywords=['flask', 'select2'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Operating System :: OS Independent',
'Topic :: Utilities',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
],
license=LICENSE,
)