#!/usr/bin/python # -*- coding: utf-8 -*- ''' Copyright (C) 2017 - 2019 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . ''' import os from setuptools import setup, find_packages readme = open('src/python/README', 'r') README_TEXT = readme.read() readme.close() #NEEDS_PYTEST = {'pytest', 'test', 'ptr'}.intersection(sys.argv) #PYTEST_RUNNER = ['pytest-runner'] if NEEDS_PYTEST else [] setup( name="gnuboat", version="0.4.6", maintainer="EngSaS - Langenbach", maintainer_email="info@engsas.de", description=("Tools to run gnuboat daemon"), license="GNU General Public License v3 or later (GPLv3+)", keywords="", url="http://trac.engsas.de/gnuboat", package_dir={'': 'src/python'}, packages=find_packages("src/python"), 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"], long_description=README_TEXT, install_requires=[ "rrdtool", "python-dateutil", "pytz", "pynmea2", "gdal", ], # setup_requires=[] + PYTEST_RUNNER, )