| [cfdd201] | 1 | #!/usr/bin/python
|
|---|
| 2 | # -*- coding: utf-8 -*-
|
|---|
| 3 | '''
|
|---|
| [ea6eba1] | 4 | Copyright (C) 2017 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
|
|---|
| [cfdd201] | 5 |
|
|---|
| 6 | This program is free software: you can redistribute it and/or modify
|
|---|
| 7 | it under the terms of the GNU General Public License as published by
|
|---|
| 8 | the Free Software Foundation, either version 3 of the License, or
|
|---|
| 9 | (at your option) any later version.
|
|---|
| 10 |
|
|---|
| 11 | This program is distributed in the hope that it will be useful,
|
|---|
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 14 | GNU General Public License for more details.
|
|---|
| 15 |
|
|---|
| 16 | You should have received a copy of the GNU General Public License
|
|---|
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|---|
| 18 | '''
|
|---|
| 19 | import os
|
|---|
| 20 | from setuptools import setup, find_packages
|
|---|
| 21 |
|
|---|
| [6f09609] | 22 | readme = open('src/python/README', 'r')
|
|---|
| 23 | README_TEXT = readme.read()
|
|---|
| 24 | readme.close()
|
|---|
| [f04997d] | 25 | #NEEDS_PYTEST = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
|
|---|
| 26 | #PYTEST_RUNNER = ['pytest-runner'] if NEEDS_PYTEST else []
|
|---|
| [cfdd201] | 27 |
|
|---|
| 28 | setup(
|
|---|
| [6f09609] | 29 | name="gnuboat",
|
|---|
| [ca02e8f] | 30 | version="0.4.4",
|
|---|
| [6f09609] | 31 | maintainer="EngSaS - Langenbach",
|
|---|
| 32 | maintainer_email="info@engsas.de",
|
|---|
| 33 | description=("Tools to run gnuboat daemon"),
|
|---|
| 34 | license="GNU General Public License v3 or later (GPLv3+)",
|
|---|
| 35 | keywords="",
|
|---|
| [26f77a6] | 36 | url="http://trac.engsas.de/gnuboat",
|
|---|
| [1efcac7] | 37 | package_dir={'': 'src/python'},
|
|---|
| 38 | packages=find_packages("src/python"),
|
|---|
| [ca02e8f] | 39 | scripts=["src/python/bin/gnuboat", "src/python/bin/gnuboat-splashscreen", "src/python/bin/gnuboat-log-converter", "src/python/bin/gnuboat-data-generator", "src/python/bin/gnuboat-log-analyser"],
|
|---|
| [6f09609] | 40 | long_description=README_TEXT,
|
|---|
| [cfdd201] | 41 | install_requires=[
|
|---|
| 42 | "rrdtool",
|
|---|
| 43 | "python-dateutil",
|
|---|
| 44 | "pytz",
|
|---|
| 45 | "pynmea2",
|
|---|
| 46 | ],
|
|---|
| [f04997d] | 47 | # setup_requires=[] + PYTEST_RUNNER,
|
|---|
| [cfdd201] | 48 | )
|
|---|