Commit cc86d374 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Updated setup.py.

updated __version__ and __versionalias__
parent 14221f75
Pipeline #391 passed with stages
in 4 minutes and 30 seconds
......@@ -4,8 +4,8 @@
__author__ = """Daniel Scheffler"""
__email__ = 'daniel.scheffler@gfz-potsdam.de'
__version__ = '0.4.5'
__versionalias__ = '2017-07-07_05'
__version__ = '0.4.6'
__versionalias__ = '2017-07-07_06'
from .CoReg import COREG
......
......@@ -4,6 +4,7 @@
"""The setup script."""
from setuptools import setup, find_packages
import warnings
with open('README.rst') as readme_file:
readme = readme_file.read()
......@@ -14,6 +15,7 @@ with open('HISTORY.rst') as history_file:
requirements = [
'numpy', 'gdal', 'shapely', 'scikit-image', 'matplotlib', 'geopandas', 'spectral', 'pykrige','geoarray','py_tools_ds'
# 'pyfftw', # conda install --yes -c conda-forge pyfftw=0.10.4 ; \
# 'basemap', # conda install --yes -c conda-forge basemap; \
]
setup_requirements = [
......@@ -24,7 +26,7 @@ test_requirements = ['coverage']
setup(
name='arosics',
version='0.4.5',
version='0.4.6',
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",
......@@ -54,3 +56,18 @@ setup(
tests_require=test_requirements,
setup_requires=setup_requirements,
)
# check for pyffw
try:
import pyfftw
except ImportError:
warnings.warn('You need to install pyfftw manually (see https://pypi.python.org/pypi/pyFFTW) for speeding up '
'the computation. It is not automatically installed.') # TODO
# check for basemap
try:
from mpl_toolkits.basemap import Basemap
except ImportError:
warnings.warn('You need to install basemap manually (see www./matplotlib.org/basemap) if you want to plot maps. '
'It is not automatically installed.') # TODO
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment