#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
    Copyright (C) 2017 - 2020 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 <http://www.gnu.org/licenses/>.
'''
import os
from setuptools import setup, find_packages

readme = open('README', 'r')
README_TEXT = readme.read()
readme.close()
#NEEDS_PYTEST = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
#PYTEST_RUNNER = ['pytest-runner'] if NEEDS_PYTEST else []
reqs_install = [
	"python-dateutil",
	"pytz",
	"pynmea2",
	"gdal",
	"mercantile",
]

setup(
  name="gnuboat_common",
  version="0.4.6",
  maintainer="EngSaS - Langenbach",
  maintainer_email="info@engsas.de",
  description=("Tools shared by gunboat python packages"),
  license="GNU General Public License v3 or later (GPLv3+)",
  keywords="",
  url="http://trac.engsas.de/gnuboat",
  #package_dir={'': ''},
  packages=find_packages(),
  scripts=["bin/gnuboat-log-converter", "bin/gnuboat-log-analyser", "bin/gdal2tiles-gnuboat.py"],
  long_description=README_TEXT,
  install_requires=reqs_install,
# setup_requires=[] + PYTEST_RUNNER,
)
