source: src/mapservice/codegen/templates/setup.mustache@ f601952

debian/bullseye
Last change on this file since f601952 was 5e4cb73, checked in by Joachim Langenbach <joachim.langenbach@…>, 8 years ago

Refactored mapservice

  • mapservice is a connexion python webservice with openapi defined api
  • mapservice-webclient is a angular app, consuming the openapi webservice mapservice
  • Property mode set to 100644
File size: 975 bytes
Line 
1# coding: utf-8
2
3import sys
4from setuptools import setup, find_packages
5
6NAME = "{{packageName}}"
7VERSION = "{{packageVersion}}"
8{{#apiInfo}}{{#apis}}{{^hasMore}}
9# To install the library, run the following
10#
11# python setup.py install
12#
13# prerequisite: setuptools
14# http://pypi.python.org/pypi/setuptools
15
16REQUIRES = [
17 "connexion==2.0.0",
18 "swagger-ui-bundle==0.0.2",
19 "python_dateutil==2.6.0"{{#supportPython2}},
20 "typing==3.5.2.2"{{/supportPython2}}
21]
22
23setup(
24 name=NAME,
25 version=VERSION,
26 description="{{appName}}",
27 author_email="{{infoEmail}}",
28 url="{{packageUrl}}",
29 keywords=["OpenAPI", "{{appName}}"],
30 install_requires=REQUIRES,
31 packages=find_packages(),
32 package_data={'': ['openapi/openapi.yaml']},
33 include_package_data=True,
34 entry_points={
35 'console_scripts': ['{{packageName}}={{packageName}}.__main__:main']},
36 long_description="""\
37 {{appDescription}}
38 """
39)
40{{/hasMore}}{{/apis}}{{/apiInfo}}
Note: See TracBrowser for help on using the repository browser.