2016-11-23 17:40:02 +00:00
|
|
|
# coding: utf-8
|
|
|
|
|
|
|
|
import sys
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2018-05-08 02:16:25 +00:00
|
|
|
NAME = "openapi_server"
|
2016-11-23 17:40:02 +00:00
|
|
|
VERSION = "1.0.0"
|
|
|
|
|
|
|
|
# To install the library, run the following
|
|
|
|
#
|
|
|
|
# python setup.py install
|
|
|
|
#
|
|
|
|
# prerequisite: setuptools
|
|
|
|
# http://pypi.python.org/pypi/setuptools
|
|
|
|
|
|
|
|
REQUIRES = ["connexion"]
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name=NAME,
|
|
|
|
version=VERSION,
|
2018-05-08 02:16:25 +00:00
|
|
|
description="OpenAPI Petstore",
|
|
|
|
author_email="",
|
2016-11-23 17:40:02 +00:00
|
|
|
url="",
|
2018-05-08 02:16:25 +00:00
|
|
|
keywords=["OpenAPI", "OpenAPI Petstore"],
|
2016-11-23 17:40:02 +00:00
|
|
|
install_requires=REQUIRES,
|
|
|
|
packages=find_packages(),
|
2018-05-08 02:16:25 +00:00
|
|
|
package_data={'': ['openapi/openapi.yaml']},
|
2016-11-23 17:40:02 +00:00
|
|
|
include_package_data=True,
|
2017-10-26 12:38:30 +00:00
|
|
|
entry_points={
|
2018-05-08 02:16:25 +00:00
|
|
|
'console_scripts': ['openapi_server=openapi_server.__main__:main']},
|
2016-11-23 17:40:02 +00:00
|
|
|
long_description="""\
|
2018-05-08 02:16:25 +00:00
|
|
|
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
2016-11-23 17:40:02 +00:00
|
|
|
"""
|
|
|
|
)
|
|
|
|
|