|
| 1 | +#!/usr/bin/env python |
| 2 | +# -*- coding: utf-8 -*- |
| 3 | + |
| 4 | +# Copyright (c) 2019 Pytroll |
| 5 | + |
| 6 | +# Author(s): |
| 7 | + |
| 8 | +# Nina Håkansson <nina.hakansson@smhi.se> |
| 9 | +# Erik Johansson <erik.johansson@smhi.se> |
| 10 | +# Adam Dybbroe <adam.dybbroe@smhi.se> |
| 11 | + |
| 12 | +# This program is free software: you can redistribute it and/or modify |
| 13 | +# it under the terms of the GNU General Public License as published by |
| 14 | +# the Free Software Foundation, either version 3 of the License, or |
| 15 | +# (at your option) any later version. |
| 16 | + |
| 17 | +# This program is distributed in the hope that it will be useful, |
| 18 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | +# GNU General Public License for more details. |
| 21 | + |
| 22 | +# You should have received a copy of the GNU General Public License |
| 23 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 24 | + |
| 25 | +"""Scripts to convert various satellite level-1 data formats (e.g. SEVIRI level |
| 26 | +1.5 HRIT) to NWCSAF/PPS level-1c format |
| 27 | +
|
| 28 | +""" |
| 29 | + |
| 30 | +from setuptools import find_packages, setup |
| 31 | + |
| 32 | +try: |
| 33 | + # HACK: https://github.com/pypa/setuptools_scm/issues/190#issuecomment-351181286 |
| 34 | + # Stop setuptools_scm from including all repository files |
| 35 | + import setuptools_scm.integration |
| 36 | + setuptools_scm.integration.find_files = lambda _: [] |
| 37 | +except ImportError: |
| 38 | + pass |
| 39 | + |
| 40 | + |
| 41 | +NAME = "level1c4pps" |
| 42 | +README = open('README.md', 'r').read() |
| 43 | + |
| 44 | +setup(name=NAME, |
| 45 | + # version=version.__version__, |
| 46 | + description='Tools to convert various satellite level-1 data formats to NWCSAF/PPS level-1c format', |
| 47 | + long_description=README, |
| 48 | + author='Nina Hakansson', |
| 49 | + author_email='nina.hakansson@smhi.se', |
| 50 | + classifiers=["Development Status :: 3 - Alpha", |
| 51 | + "Intended Audience :: Science/Research", |
| 52 | + "License :: OSI Approved :: GNU General Public License v3 " + |
| 53 | + "or later (GPLv3+)", |
| 54 | + "Operating System :: OS Independent", |
| 55 | + "Programming Language :: Python", |
| 56 | + "Topic :: Scientific/Engineering"], |
| 57 | + url="https://github.com:foua-pps/level1c4pps", |
| 58 | + packages=['level1c4pps', ], |
| 59 | + scripts=['bin/seviri2pps.py', 'bin/gac2pps.py', ], |
| 60 | + data_files=[], |
| 61 | + zip_safe=False, |
| 62 | + use_scm_version=True, |
| 63 | + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', |
| 64 | + install_requires=['satpy', 'pyorbital', 'trollsift', ], |
| 65 | + ) |
0 commit comments