This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
/
setup.py
61 lines (53 loc) · 1.52 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
56
57
58
59
60
61
"""
Flask-Script
--------------
Flask support for writing external scripts.
Links
`````
* `documentation <http://flask-script.readthedocs.org>`_
"""
import sys
from setuptools import setup
# Hack to prevent stupid TypeError: 'NoneType' object is not callable error on
# exit of python setup.py test # in multiprocessing/util.py _exit_function when
# running python setup.py test (see
# https://github.com/pypa/virtualenv/pull/259)
try:
import multiprocessing
except ImportError:
pass
install_requires = ['Flask']
if sys.version_info < (2, 7):
install_requires += ['argparse']
setup(
name='Flask-Script',
version='0.5.1',
url='http://github.com/techniq/flask-script',
license='BSD',
author='Dan Jacob',
author_email='danjac354@gmail.com',
maintainer='Sean Lynch',
maintainer_email='techniq35@gmail.com',
description='Scripting support for Flask',
long_description=__doc__,
py_modules=[
'flask_script'
],
test_suite='nose.collector',
zip_safe=False,
platforms='any',
install_requires=install_requires,
tests_require=[
'nose',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)