setup.py 3.15 KB
Newer Older
1
2
3
#!/usr/bin/env python
# -*- coding: utf-8 -*-

4
5
# AROSICS - Automated and Robust Open-Source Image Co-Registration Software
#
6
# Copyright (C) 2017-2020  Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# This software was developed within the context of the GeoMultiSens project funded
# by the German Federal Ministry of Education and Research
# (project grant code: 01 IS 14 010 A-C).
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser 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 Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with this program.  If not, see <http://www.gnu.org/licenses/>.

25
26
27
"""The setup script."""

from setuptools import setup, find_packages
28

29
30
31
32
33
34
35

with open('README.rst') as readme_file:
    readme = readme_file.read()

with open('HISTORY.rst') as history_file:
    history = history_file.read()

Daniel Scheffler's avatar
Daniel Scheffler committed
36
37
38
39
version = {}
with open("arosics/version.py") as version_file:
    exec(version_file.read(), version)

40
41
requirements = [
    'numpy', 'gdal', 'shapely', 'scikit-image', 'matplotlib', 'geopandas', 'pandas', 'plotly', 'cmocean', 'six',
42
    'folium>=0.6.0', 'geojson', 'pykrige', 'pyfftw', 'geoarray>=0.8.30', 'py_tools_ds>=0.14.28',
Daniel Scheffler's avatar
Daniel Scheffler committed
43
    'basemap @ git+https://github.com/matplotlib/basemap.git'
44
]
45
46

setup_requirements = [
Daniel Scheffler's avatar
Daniel Scheffler committed
47
48
    'setuptools',
    'setuptools-git'
49
50
]

Daniel Scheffler's avatar
Daniel Scheffler committed
51
test_requirements = requirements + ['coverage', 'nose', 'nose-htmloutput', 'rednose']
52
53
54

setup(
    name='arosics',
Daniel Scheffler's avatar
Daniel Scheffler committed
55
    version=version['__version__'],
56
57
58
59
    description="An Automated and Robust Open-Source Image Co-Registration Software for Multi-Sensor Satellite Data",
    long_description=readme + '\n\n' + history,
    author="Daniel Scheffler",
    author_email='daniel.scheffler@gfz-potsdam.de',
Daniel Scheffler's avatar
Daniel Scheffler committed
60
    url='https://gitext.gfz-potsdam.de/danschef/arosics',
Daniel Scheffler's avatar
Daniel Scheffler committed
61
    packages=find_packages(),
62
    include_package_data=True,
63
    scripts=["bin/arosics_cli.py"],
64
    install_requires=requirements,
Daniel Scheffler's avatar
Daniel Scheffler committed
65
    license="GNU General Public License v3",
66
    zip_safe=False,
Daniel Scheffler's avatar
Daniel Scheffler committed
67
    keywords=['arosics', 'image co-registration', 'geometric pre-processing', 'remote sensing', 'sensor fusion'],
68
    classifiers=[
Daniel Scheffler's avatar
Daniel Scheffler committed
69
        'Development Status :: 4 - Beta',
70
        'Intended Audience :: Science/Research',
71
72
        'Topic :: Scientific/Engineering',
        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
73
        'Natural Language :: English',
74
75
76
77
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
78
        'Programming Language :: Python :: 3.7',
79
80
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
81
82
83
84
85
    ],
    test_suite='tests',
    tests_require=test_requirements,
    setup_requires=setup_requirements,
)