forked from getsling/flask-swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (50 loc) · 1.53 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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README') as file:
long_description = file.read()
setup(name='flask-swagger',
version='0.2.12',
url='https://github.com/gangverk/flask-swagger',
description='Extract swagger specs from your flask project',
author='Atli Thorbjornsson',
license='MIT',
py_modules=['flask_swagger', 'build_swagger_spec'],
long_description=long_description,
install_requires=['Flask>=0.10', 'PyYAML>=3.0'],
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
],
entry_points = """
[console_scripts]
flaskswagger = build_swagger_spec:run
""",
options={
'bdist_rpm':{
'build_requires':[
'python',
'python-setuptools',
'python-itsdangerous',
'python-flask',
'python-markupsafe',
'PyYAML',
],
'requires':[
'python',
'python-setuptools',
'python-itsdangerous',
'python-flask',
'python-markupsafe',
'PyYAML',
],
},
},
)