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

debian/bullseye
Last change on this file since be66b78 was 10e7c65, checked in by Joachim Langenbach <joachim.langenbach@…>, 7 years ago

Fixed requirements for gnuboat_mapservice and make sure, that they are only specified in setup.py

  • Property mode set to 100644
File size: 1.1 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 "gnuboat_common"
32]
33
34setup(
35 name=NAME,
36 version=VERSION,
37 description="{{appName}}",
38 author_email="{{infoEmail}}",
39 url="{{packageUrl}}",
40 keywords=["OpenAPI", "{{appName}}"],
41 install_requires=REQUIRES,
42 packages=find_packages(),
43 package_data={'': ['openapi/openapi.yaml']},
44 include_package_data=True,
45 entry_points={
46 'console_scripts': ['{{packageName}}={{packageName}}.__main__:main']},
47 long_description="""\
48 {{appDescription}}
49 """
50)
51{{/hasMore}}{{/apis}}{{/apiInfo}}
Note: See TracBrowser for help on using the repository browser.