| [43fd35c] | 1 | # coding: utf-8
|
|---|
| 2 |
|
|---|
| 3 | import sys
|
|---|
| 4 | from setuptools import setup, find_packages
|
|---|
| 5 |
|
|---|
| 6 | NAME = 'gnuboat'
|
|---|
| 7 | VERSION = '0.5.99'
|
|---|
| 8 |
|
|---|
| 9 | # shapely is required by geoalchemy2
|
|---|
| 10 | REQUIRES = [
|
|---|
| 11 | 'connexion==2.6.0',
|
|---|
| 12 | 'swagger-ui-bundle',
|
|---|
| 13 | 'python-dateutil',
|
|---|
| 14 | 'setuptools>=21.0.0',
|
|---|
| 15 | 'flask-sqlalchemy',
|
|---|
| 16 | 'flask-cors',
|
|---|
| 17 | 'flask-mail',
|
|---|
| 18 | 'shapely',
|
|---|
| 19 | 'geoalchemy2',
|
|---|
| 20 | 'sqlalchemy-utils',
|
|---|
| 21 | 'celery',
|
|---|
| 22 | 'python-memcached',
|
|---|
| 23 | 'pathlib',
|
|---|
| 24 | 'pytz',
|
|---|
| 25 | 'rrdtool',
|
|---|
| 26 | 'pynmea2',
|
|---|
| 27 | 'numpy',
|
|---|
| 28 | 'gdal<=2.4.3',
|
|---|
| 29 | 'mercantile',
|
|---|
| 30 | 'Pillow',
|
|---|
| 31 | 'requests',
|
|---|
| 32 | 'progressbar2',
|
|---|
| 33 | ]
|
|---|
| 34 |
|
|---|
| [f0e8020] | 35 | readme = open('README.md', 'r')
|
|---|
| [43fd35c] | 36 | README_TEXT = readme.read()
|
|---|
| 37 | readme.close()
|
|---|
| 38 |
|
|---|
| 39 | # To install the library, run the following
|
|---|
| 40 | #
|
|---|
| 41 | # python setup.py install
|
|---|
| 42 | #
|
|---|
| 43 | # prerequisite: setuptools
|
|---|
| 44 | # http://pypi.python.org/pypi/setuptools
|
|---|
| 45 |
|
|---|
| 46 | setup(
|
|---|
| 47 | name=NAME,
|
|---|
| 48 | version=VERSION,
|
|---|
| 49 | description='GNUBoat Mapservice API',
|
|---|
| 50 | author_email='info@engsas.de',
|
|---|
| 51 | url='https://trac.engsas.de/gnuboat',
|
|---|
| 52 | license='GNU General Public License v3 or later (GPLv3+)',
|
|---|
| 53 | keywords=['OpenAPI', 'GNUBoat Mapservice API'],
|
|---|
| 54 | install_requires=REQUIRES,
|
|---|
| 55 | packages=find_packages('src', exclude=['*test*', 'mapservice-webclient']),
|
|---|
| 56 | package_dir={'': 'src'},
|
|---|
| 57 | package_data={'gnuboat_mapservice': [
|
|---|
| 58 | 'openapi/openapi.yaml', 'templats/*'
|
|---|
| 59 | ]
|
|---|
| 60 | },
|
|---|
| 61 | include_package_data=True,
|
|---|
| 62 | scripts=[
|
|---|
| 63 | 'src/gnuboat/device/bin/gnuboat',
|
|---|
| 64 | 'src/gnuboat/device/bin/gnuboat-splashscreen',
|
|---|
| 65 | 'src/gnuboat/device/bin/gnuboat-data-generator',
|
|---|
| 66 | 'src/gnuboat/common/bin/gnuboat-log-converter',
|
|---|
| 67 | 'src/gnuboat/common/bin/gnuboat-log-analyser',
|
|---|
| 68 | 'src/gnuboat/common/bin/gnuboat-log-uploader',
|
|---|
| 69 | 'src/gnuboat/common/bin/gdal2tiles-gnuboat.py',
|
|---|
| 70 | ],
|
|---|
| 71 | entry_points={
|
|---|
| [50f6fb0] | 72 | 'console_scripts': [
|
|---|
| 73 | ('gnuboat_mapservice='
|
|---|
| 74 | 'gnuboat.mapservice.__main__:main'),
|
|---|
| 75 | ('gnuboat_mapservice_worker='
|
|---|
| 76 | 'gnuboat.mapservice_impl.demo.CeleryEntry:main')
|
|---|
| 77 | ]
|
|---|
| [43fd35c] | 78 | },
|
|---|
| 79 | long_description=README_TEXT,
|
|---|
| 80 | )
|
|---|