All Downloads are FREE. Search and download functionalities are using the official Maven repository.

python-flask.setup.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
# coding: utf-8

import sys
from setuptools import setup, find_packages

NAME = "{{packageName}}"
VERSION = "{{packageVersion}}"
{{#apiInfo}}{{#apis}}{{#-last}}
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = [
    "connexion>=2.0.2",
    "swagger-ui-bundle>=0.0.2",
    "python_dateutil>=2.6.0"{{#supportPython2}},
    "typing>=3.5.2.2"{{/supportPython2}}
]

setup(
    name=NAME,
    version=VERSION,
    description="{{appName}}",
    author_email="{{infoEmail}}",
    url="{{packageUrl}}",
    keywords=["OpenAPI", "{{appName}}"],
    install_requires=REQUIRES,
    packages=find_packages({{#pythonSrcRoot}}"{{{.}}}"{{/pythonSrcRoot}}),{{#pythonSrcRoot}}
    package_dir={"": "{{{.}}}"},{{/pythonSrcRoot}}
    package_data={'': ['{{#pythonSrcRoot}}{{{.}}}/{{/pythonSrcRoot}}openapi/openapi.yaml']},
    include_package_data=True,
    entry_points={
        'console_scripts': ['{{packageName}}={{packageName}}.__main__:main']},
    long_description="""\
    {{appDescription}}
    """
)
{{/-last}}{{/apis}}{{/apiInfo}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy