source: setup.py@ 24a7f16

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

Renamed the entry_points according to the naming scheme of the scripts

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[43fd35c]1# coding: utf-8
2
3import sys
4from setuptools import setup, find_packages
5
6NAME = 'gnuboat'
7VERSION = '0.5.99'
8
9# shapely is required by geoalchemy2
10REQUIRES = [
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]35readme = open('README.md', 'r')
[43fd35c]36README_TEXT = readme.read()
37readme.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
46setup(
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': [
[24a7f16]73 ('gnuboat-dev-mapservice='
[50f6fb0]74 'gnuboat.mapservice.__main__:main'),
[24a7f16]75 ('gnuboat-dev-mapservice-worker='
[50f6fb0]76 'gnuboat.mapservice_impl.demo.CeleryEntry:main')
77 ]
[43fd35c]78 },
79 long_description=README_TEXT,
80)
Note: See TracBrowser for help on using the repository browser.