source: setup.py@ f9321aa

debian/bullseye
Last change on this file since f9321aa was f9321aa, checked in by Joachim Langenbach <joachim.langenbach@…>, 7 years ago
  • Adapted code_generator to
    • handle several packages
    • to configure the port from yaml specification
    • to use the VERSION used by setup.py
  • Added deviceservice.yaml with first version of webservice
  • Moved Config loader and HttpErrors to gnuboat.common
  • Moved rrd archive schema to gnuboat.common.device
  • Property mode set to 100644
File size: 2.1 KB
Line 
1# coding: utf-8
2
3import sys
4from setuptools import setup, find_packages
5
6NAME = 'gnuboat'
7version = open('VERSION', 'r')
8VERSION = version.read().strip()
9version.close()
10
11# shapely is required by geoalchemy2
12REQUIRES = [
13 'connexion==2.6.0',
14 'swagger-ui-bundle',
15 'python-dateutil',
16 'setuptools>=21.0.0',
17 'flask-sqlalchemy',
18 'flask-cors',
19 'flask-mail',
20 'shapely',
21 'geoalchemy2',
22 'sqlalchemy-utils',
23 'celery',
24 'python-memcached',
25 'pathlib',
26 'pytz',
27 'rrdtool',
28 'pynmea2',
29 'numpy',
30 'gdal<=2.4.3',
31 'mercantile',
32 'Pillow',
33 'requests',
34 'progressbar2',
35]
36
37readme = open('README.md', 'r')
38README_TEXT = readme.read()
39readme.close()
40
41# To install the library, run the following
42#
43# python setup.py install
44#
45# prerequisite: setuptools
46# http://pypi.python.org/pypi/setuptools
47
48setup(
49 name=NAME,
50 version=VERSION,
51 description='GNUBoat python package',
52 author_email='info@engsas.de',
53 url='https://trac.engsas.de/gnuboat',
54 license='GNU General Public License v3 or later (GPLv3+)',
55 keywords=['OpenAPI', 'GNUBoat'],
56 install_requires=REQUIRES,
57 packages=find_packages('src', exclude=['*test*', 'mapservice-webclient']),
58 package_dir={'': 'src'},
59 package_data={'gnuboat': [
60 'src/gnuboat/mapservice/openapi/openapi.yaml',
61 'src/gnuboat/mapservice_impl/templats/*'
62 ]
63 },
64 include_package_data=True,
65 scripts=[
66 'src/gnuboat/device/bin/gnuboat',
67 'src/gnuboat/device/bin/gnuboat-splashscreen',
68 'src/gnuboat/device/bin/gnuboat-data-generator',
69 'src/gnuboat/common/bin/gnuboat-log-converter',
70 'src/gnuboat/common/bin/gnuboat-log-analyser',
71 'src/gnuboat/common/bin/gnuboat-log-uploader',
72 'src/gnuboat/common/bin/gdal2tiles-gnuboat.py',
73 ],
74 entry_points={
75 'console_scripts': [
76 ('gnuboat-dev-mapservice='
77 'gnuboat.mapservice.__main__:main'),
78 ('gnuboat-dev-mapservice-worker='
79 'gnuboat.mapservice_impl.demo.CeleryEntry:main')
80 ]
81 },
82 long_description=README_TEXT,
83)
Note: See TracBrowser for help on using the repository browser.