Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
py_tools_ds
Commits
dd0354f3
Commit
dd0354f3
authored
Sep 11, 2017
by
Daniel Scheffler
Committed by
Daniel Scheffler
Sep 11, 2017
Browse files
Updated version info.
parent
f596a8b7
Pipeline
#1074
passed with stages
in 59 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
py_tools_ds/__init__.py
View file @
dd0354f3
...
...
@@ -7,9 +7,9 @@ from . import numeric
from
.
import
similarity
from
.
import
web
__version__
=
'0.4.
5
'
__versionalias__
=
'20170911_0
1
'
__author__
=
'Daniel Scheffler'
__version__
=
'0.4.
6
'
__versionalias__
=
'20170911_0
2
'
__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. "
...
...
setup.py
View file @
dd0354f3
...
...
@@ -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"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment