forked from loafle/openapi-generator-original
44 lines
839 B
Plaintext
44 lines
839 B
Plaintext
import sys
|
|
from setuptools import setup, find_packages
|
|
|
|
NAME = "{{packageName}}"
|
|
VERSION = "{{packageVersion}}"
|
|
|
|
{{#apiInfo}}{{#apis}}{{^hasMore}}
|
|
|
|
# To install the library, open a Terminal shell, then run this
|
|
# file by typing:
|
|
#
|
|
# python setup.py install
|
|
#
|
|
# You need to have the setuptools module installed.
|
|
# Try reading the setuptools documentation:
|
|
# http://pypi.python.org/pypi/setuptools
|
|
|
|
REQUIRES = ["urllib3 >= 1.10", "six >= 1.9", "certifi", "python-dateutil"]
|
|
|
|
setup(
|
|
name=NAME,
|
|
version=VERSION,
|
|
description="{{appName}}",
|
|
author_email="{{infoEmail}}",
|
|
url="{{infoUrl}}",
|
|
keywords=["Swagger", "{{appName}}"],
|
|
install_requires=REQUIRES,
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
long_description="""\
|
|
{{appDescription}}
|
|
"""
|
|
)
|
|
|
|
{{/hasMore}}{{/apis}}{{/apiInfo}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|