-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (41 loc) · 1.27 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
# -*- coding: utf-8 -*-
import re
from os import path
from setuptools import setup
ROOT_DIR = path.abspath(path.dirname(__file__))
DESCRIPTION = 'Flask-TuiEditor - a Flask extension for TuiEditor'
LONG_DESCRIPTION = open(path.join(ROOT_DIR, 'README.md')).read()
VERSION = re.search(
"__version__ = '([^']+)'",
open(path.join(ROOT_DIR, 'flask_tuieditor', '__init__.py')).read()
).group(1)
setup(
name='Flask-TuiEditor',
version=VERSION,
url='https://github.com/pyx/flask-tuieditor/',
license='MIT',
author='Anton gavrilyuk',
author_email='[email protected]',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
packages=['flask_tuieditor'],
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=[
'Flask>=0.10',
],
extras_require={
'test': ['pytest>=2.8.2'],
},
classifiers=[
'Development Status :: 1 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)