mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 05:00:50 +00:00
* fix: remove option supportPython2. [python-flask][python-aiohttp][python-blueplanet] * fix: update samples * test only python servers * fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp] * Revert "fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp]" This reverts commit 9f47db2f87d1faea6863f4fa5f7c97ddba985879. * test in circlei * run commands directly * test in node 1 * update makefile * fix Makefile * fix test * revert some changes, remove python server tests from travis Co-authored-by: Kevin Bannier <kevinbannier1@gmail.com>
40 lines
938 B
Python
40 lines
938 B
Python
# coding: utf-8
|
|
|
|
import sys
|
|
from setuptools import setup, find_packages
|
|
|
|
NAME = "openapi_server"
|
|
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==2.14.1",
|
|
"swagger-ui-bundle==0.0.9",
|
|
"aiohttp_jinja2==1.5.0",
|
|
]
|
|
|
|
setup(
|
|
name=NAME,
|
|
version=VERSION,
|
|
description="OpenAPI Petstore",
|
|
author_email="",
|
|
url="",
|
|
keywords=["OpenAPI", "OpenAPI Petstore"],
|
|
install_requires=REQUIRES,
|
|
packages=find_packages(),
|
|
package_data={'': ['openapi/openapi.yaml']},
|
|
include_package_data=True,
|
|
entry_points={
|
|
'console_scripts': ['openapi_server=openapi_server.__main__:main']},
|
|
long_description="""\
|
|
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
"""
|
|
)
|
|
|