debian/bullseye
|
Last change
on this file since ff880df 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
|
| Rev | Line | |
|---|
| [3a89adb] | 1 | # coding: utf-8
|
|---|
| 2 |
|
|---|
| 3 | import sys
|
|---|
| 4 | from setuptools import setup, find_packages
|
|---|
| 5 |
|
|---|
| 6 | NAME = "{{packageName}}"
|
|---|
| 7 | VERSION = "{{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 |
|
|---|
| [10e7c65] | 16 | # shapely is required by geoalchemy2
|
|---|
| [3a89adb] | 17 | REQUIRES = [
|
|---|
| [10e7c65] | 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",
|
|---|
| [bc7bf4f] | 31 | "pathlib",
|
|---|
| [10e7c65] | 32 | "gnuboat_common"
|
|---|
| [3a89adb] | 33 | ]
|
|---|
| 34 |
|
|---|
| 35 | setup(
|
|---|
| 36 | name=NAME,
|
|---|
| 37 | version=VERSION,
|
|---|
| 38 | description="{{appName}}",
|
|---|
| 39 | author_email="{{infoEmail}}",
|
|---|
| 40 | url="{{packageUrl}}",
|
|---|
| 41 | keywords=["OpenAPI", "{{appName}}"],
|
|---|
| 42 | install_requires=REQUIRES,
|
|---|
| [ae2ff15] | 43 | packages=find_packages(exclude=["*test*"]),
|
|---|
| 44 | package_data={'{{packageName}}': ['openapi/openapi.yaml', 'templats/*']},
|
|---|
| [3a89adb] | 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.