forked from loafle/openapi-generator-original
53 lines
1.5 KiB
Python
Executable File
53 lines
1.5 KiB
Python
Executable File
# coding: utf-8
|
|
|
|
"""
|
|
OpenAPI Petstore
|
|
|
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
|
|
The version of the OpenAPI document: 1.0.0
|
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
|
|
Do not edit the class manually.
|
|
""" # noqa: E501
|
|
|
|
|
|
from setuptools import setup, find_packages # noqa: H301
|
|
|
|
# To install the library, run the following
|
|
#
|
|
# python setup.py install
|
|
#
|
|
# prerequisite: setuptools
|
|
# http://pypi.python.org/pypi/setuptools
|
|
NAME = "petstore-api"
|
|
VERSION = "1.0.0"
|
|
PYTHON_REQUIRES = ">= 3.8"
|
|
REQUIRES = [
|
|
"urllib3 >= 1.25.3, < 3.0.0",
|
|
"python-dateutil >= 2.8.2",
|
|
"pem >= 19.3.0",
|
|
"pycryptodome >= 3.9.0",
|
|
"pydantic >= 2",
|
|
"typing-extensions >= 4.7.1",
|
|
]
|
|
|
|
setup(
|
|
name=NAME,
|
|
version=VERSION,
|
|
description="OpenAPI Petstore",
|
|
author="OpenAPI Generator community",
|
|
author_email="team@openapitools.org",
|
|
url="",
|
|
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"],
|
|
install_requires=REQUIRES,
|
|
packages=find_packages(exclude=["test", "tests"]),
|
|
include_package_data=True,
|
|
license="Apache-2.0",
|
|
long_description_content_type='text/markdown',
|
|
long_description="""\
|
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
""", # noqa: E501
|
|
package_data={"petstore_api": ["py.typed"]},
|
|
)
|