source: src/mapservice/codegen/templates/setup.mustache@ 7be94aa

debian/bullseye
Last change on this file since 7be94aa was ae2ff15, checked in by Joachim Langenbach <joachim.langenbach@…>, 7 years ago
  • Fixed testing environment
    • Fixed some issues in the API and it's serving
  • Property mode set to 100644
File size: 1.2 KB
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
16# shapely is required by geoalchemy2
17REQUIRES = [
18 "connexion==2.6.0",
19 "swagger-ui-bundle",
20 "python_dateutil",
21 "setuptools>=21.0.0",
22 "flask-sqlalchemy",
23 "flask-cors",
24 "flask-mail",
25 "shapely",
26 "geoalchemy2",
27 "sqlalchemy_utc",
28 "sqlalchemy-utils",
29 "celery",
30 "python-memcached",
31 "pathlib",
32 "gnuboat_common"
33]
34
35setup(
36 name=NAME,
37 version=VERSION,
38 description="{{appName}}",
39 author_email="{{infoEmail}}",
40 url="{{packageUrl}}",
41 keywords=["OpenAPI", "{{appName}}"],
42 install_requires=REQUIRES,
43 packages=find_packages(exclude=["*test*"]),
44 package_data={'{{packageName}}': ['openapi/openapi.yaml', 'templats/*']},
45 include_package_data=True,
46 entry_points={
47 'console_scripts': ['{{packageName}}={{packageName}}.__main__:main']},
48 long_description="""\
49 {{appDescription}}
50 """
51)
52{{/hasMore}}{{/apis}}{{/apiInfo}}
Note: See TracBrowser for help on using the repository browser.