Commit dd0354f3 authored by Daniel Scheffler's avatar Daniel Scheffler Committed by Daniel Scheffler
Browse files

Updated version info.

parent f596a8b7
Pipeline #1074 passed with stages
in 59 seconds
......@@ -7,9 +7,9 @@ from . import numeric
from . import similarity
from . import web
__version__ = '0.4.5'
__versionalias__ = '20170911_01'
__author__='Daniel Scheffler'
__version__ = '0.4.6'
__versionalias__ = '20170911_02'
__author__ = 'Daniel Scheffler'
# Validate GDAL version
try:
......@@ -20,9 +20,9 @@ except ImportError:
from osgeo import gdalnumeric
try:
getattr(gdal,'Warp')
getattr(gdal,'Translate')
getattr(gdalnumeric,'OpenNumPyArray')
getattr(gdal, 'Warp')
getattr(gdal, 'Translate')
getattr(gdalnumeric, 'OpenNumPyArray')
except AttributeError:
import warnings
warnings.warn("Your GDAL version is too old to support all functionalities of the 'py_tools_ds' package. "
......
......@@ -12,19 +12,19 @@ with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = ['gdal', 'numpy', 'shapely', 'six', 'rasterio', 'geopandas', 'scikit-image', 'pyproj']
setup_requirements = [] # TODO(danschef): put setup requirements (distutils extensions, etc.) here
setup_requirements = [] # TODO(danschef): put setup requirements (distutils extensions, etc.) here
test_requirements = requirements + ['coverage']
setup(
name='py_tools_ds',
version='0.4.5',
version='0.4.6',
description="A collection of Python tools by Daniel Scheffler.",
long_description=readme + '\n\n' + history,
author="Daniel Scheffler",
author_email='daniel.scheffler@gfz-potsdam.de',
url='https://gitext.gfz-potsdam.de/danschef/py_tools_ds',
packages=find_packages(), # searches for packages with an __init__.py and returns them as properly formatted list
package_dir={'py_tools_ds':'py_tools_ds'},
packages=find_packages(), # searches for packages with an __init__.py and returns them as properly formatted list
package_dir={'py_tools_ds': 'py_tools_ds'},
include_package_data=True,
install_requires=requirements,
license="GNU General Public License v3",
......
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