geoarray 0.18.0__tar.gz → 0.19.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. {geoarray-0.18.0 → geoarray-0.19.1}/.gitlab-ci.yml +3 -14
  2. {geoarray-0.18.0 → geoarray-0.19.1}/HISTORY.rst +17 -2
  3. {geoarray-0.18.0/geoarray.egg-info → geoarray-0.19.1}/PKG-INFO +14 -38
  4. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray/baseclasses.py +2 -2
  5. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray/version.py +2 -2
  6. {geoarray-0.18.0 → geoarray-0.19.1/geoarray.egg-info}/PKG-INFO +14 -38
  7. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray.egg-info/SOURCES.txt +1 -2
  8. geoarray-0.19.1/geoarray.egg-info/requires.txt +35 -0
  9. geoarray-0.19.1/pyproject.toml +124 -0
  10. geoarray-0.19.1/setup.cfg +4 -0
  11. geoarray-0.18.0/geoarray.egg-info/requires.txt +0 -61
  12. geoarray-0.18.0/setup.cfg +0 -23
  13. geoarray-0.18.0/setup.py +0 -106
  14. {geoarray-0.18.0 → geoarray-0.19.1}/.coveragerc +0 -0
  15. {geoarray-0.18.0 → geoarray-0.19.1}/.editorconfig +0 -0
  16. {geoarray-0.18.0 → geoarray-0.19.1}/.gitattributes +0 -0
  17. {geoarray-0.18.0 → geoarray-0.19.1}/.github/ISSUE_TEMPLATE.md +0 -0
  18. {geoarray-0.18.0 → geoarray-0.19.1}/.gitignore +0 -0
  19. {geoarray-0.18.0 → geoarray-0.19.1}/AUTHORS.rst +0 -0
  20. {geoarray-0.18.0 → geoarray-0.19.1}/CONTRIBUTING.rst +0 -0
  21. {geoarray-0.18.0 → geoarray-0.19.1}/LICENSE +0 -0
  22. {geoarray-0.18.0 → geoarray-0.19.1}/MANIFEST.in +0 -0
  23. {geoarray-0.18.0 → geoarray-0.19.1}/Makefile +0 -0
  24. {geoarray-0.18.0 → geoarray-0.19.1}/README.rst +0 -0
  25. {geoarray-0.18.0 → geoarray-0.19.1}/docs/Makefile +0 -0
  26. {geoarray-0.18.0 → geoarray-0.19.1}/docs/_build/html/_static/file.png +0 -0
  27. {geoarray-0.18.0 → geoarray-0.19.1}/docs/_build/html/_static/minus.png +0 -0
  28. {geoarray-0.18.0 → geoarray-0.19.1}/docs/_build/html/_static/plus.png +0 -0
  29. {geoarray-0.18.0 → geoarray-0.19.1}/docs/authors.rst +0 -0
  30. {geoarray-0.18.0 → geoarray-0.19.1}/docs/conf.py +0 -0
  31. {geoarray-0.18.0 → geoarray-0.19.1}/docs/contributing.rst +0 -0
  32. {geoarray-0.18.0 → geoarray-0.19.1}/docs/history.rst +0 -0
  33. {geoarray-0.18.0 → geoarray-0.19.1}/docs/index.rst +0 -0
  34. {geoarray-0.18.0 → geoarray-0.19.1}/docs/installation.rst +0 -0
  35. {geoarray-0.18.0 → geoarray-0.19.1}/docs/make.bat +0 -0
  36. {geoarray-0.18.0 → geoarray-0.19.1}/docs/readme.rst +0 -0
  37. {geoarray-0.18.0 → geoarray-0.19.1}/docs/usage.rst +0 -0
  38. {geoarray-0.18.0 → geoarray-0.19.1}/examples/notebooks/features_and_usage.ipynb +0 -0
  39. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray/__init__.py +0 -0
  40. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray/masks.py +0 -0
  41. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray/metadata.py +0 -0
  42. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray/subsetting.py +0 -0
  43. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray.egg-info/dependency_links.txt +0 -0
  44. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray.egg-info/not-zip-safe +0 -0
  45. {geoarray-0.18.0 → geoarray-0.19.1}/geoarray.egg-info/top_level.txt +0 -0
  46. {geoarray-0.18.0 → geoarray-0.19.1}/tox.ini +0 -0
@@ -12,10 +12,6 @@ test_geoarray:
12
12
  stage: test
13
13
  coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
14
14
  script:
15
- # TODO remove as soon as CI runner is rebuilt
16
- - mamba env remove -n ci_env
17
- - mamba env create --name ci_env -f tests/CI_docker/context/environment_geoarray.yml
18
-
19
15
  - source activate ci_env
20
16
 
21
17
  # update py_tools_ds
@@ -67,22 +63,15 @@ test_geoarray_install:
67
63
  script:
68
64
  - mamba update -n base mamba conda
69
65
 
70
- # TODO remove as soon as CI runner is rebuilt
71
- - pip install --force-reinstall zstandard
72
- - pip install --force-reinstall zstd
73
-
74
66
  # create geoarray environment from environment_geoarray.yml
75
67
  - mamba env create --name geoarray_test -f tests/CI_docker/context/environment_geoarray.yml
76
68
  - source activate geoarray_test
77
69
 
78
70
  # install geoarray
79
71
  - pip install -e .
80
- - cd ..
81
- - pwd
82
-
83
- - ls
84
72
 
85
- # test importability
73
+ # test importability
74
+ - cd ../..
86
75
  - python -c "import geoarray; print(geoarray)"
87
76
  - python -c "from geoarray import GeoArray"
88
77
 
@@ -132,7 +121,7 @@ deploy_pypi:
132
121
  - test_geoarray
133
122
  script:
134
123
  - source activate ci_env
135
- - pip install -U twine build
124
+ - pip install -U twine build packaging
136
125
  - python -m build --sdist
137
126
  - twine check dist/*
138
127
  - twine upload dist/* # requires creds as environment variables
@@ -2,6 +2,21 @@
2
2
  History
3
3
  =======
4
4
 
5
+ 0.19.1 (2025-05-26)
6
+ -------------------
7
+
8
+ * !57: Pinned holoviews to >1.12.7 to fix an incompatibility within newer environments.
9
+ * !58: Fixed #47 (Integer overflow in GeoArray.read_pointData for rasters larger than int16 max (32767)).
10
+ * !59: Adapted license declaration in pyproject.toml to new PEP 639.
11
+
12
+
13
+ 0.19.0 (26.08.2024)
14
+ -------------------
15
+
16
+ * !55: Updated CI runner to use the latest base image. Adapted build script to upstream changes of GitLab 17.0.
17
+ * !56: Migrated setup procedure from using setup.py + setup.cfg to using pyproject.toml only.
18
+
19
+
5
20
  0.18.0 (05.07.2024)
6
21
  -------------------
7
22
 
@@ -11,11 +26,11 @@ History
11
26
  * !49: Improved documentation of expected order of array dimensions (closes #43).
12
27
  * !50: Fixed #46 (Numpy 2.0 support: `can_cast` not supported for python dtypes).
13
28
  * !51: Fixed GDAL-3.9-related RuntimeError within GeoArray.save by using context managers.
14
- Bumped minimal version of GDAL to 3.8 due to usage of context managers.
29
+ Bumped minimal version of GDAL to 3.8 due to usage of context managers.
15
30
  * !52: Use GDAL context managers where ever possible.
16
31
  * Added official support for Python 3.12.
17
32
  * !53: Removed Test_GeoArray.test_show_map_noepsg because newer versions of pyproj do not
18
- return None as EPSG code anymore (at least not with the given WKT).
33
+ return None as EPSG code anymore (at least not with the given WKT).
19
34
  * !54: Fixed DeprecationWarning (replaced deprecated pkgutil.find_loader with importlib.util.find_spec).
20
35
 
21
36
 
@@ -1,15 +1,16 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: geoarray
3
- Version: 0.18.0
4
- Summary: Fast Python interface for geodata - either on disk or in memory.
5
- Home-page: https://git.gfz-potsdam.de/danschef/geoarray
6
- Author: Daniel Scheffler
7
- Author-email: danschef@gfz-potsdam.de
8
- License: Apache-2.0
3
+ Version: 0.19.1
4
+ Summary: Fast Python interface for geodata - either on disk or in memory
5
+ Author-email: Daniel Scheffler <daniel.scheffler@gfz-potsdam.de>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Source code, https://git.gfz-potsdam.de/danschef/geoarray
8
+ Project-URL: Issue Tracker, https://git.gfz-potsdam.de/danschef/geoarray/-/issues
9
+ Project-URL: Documentation, https://danschef.git-pages.gfz-potsdam.de/geoarray/doc/
10
+ Project-URL: Change log, https://git.gfz-potsdam.de/danschef/geoarray/-/blob/main/HISTORY.rst
9
11
  Keywords: geoarray,geoprocessing,gdal,numpy
10
12
  Classifier: Development Status :: 4 - Beta
11
13
  Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: Apache Software License
13
14
  Classifier: Natural Language :: English
14
15
  Classifier: Programming Language :: Python :: 3.8
15
16
  Classifier: Programming Language :: Python :: 3.9
@@ -32,20 +33,11 @@ Requires-Dist: shapely
32
33
  Provides-Extra: interactive-plotting
33
34
  Requires-Dist: folium; extra == "interactive-plotting"
34
35
  Requires-Dist: geojson; extra == "interactive-plotting"
35
- Requires-Dist: holoviews; extra == "interactive-plotting"
36
+ Requires-Dist: holoviews>1.12.7; extra == "interactive-plotting"
36
37
  Provides-Extra: doc
37
38
  Requires-Dist: sphinx-argparse; extra == "doc"
38
39
  Requires-Dist: sphinx_rtd_theme; extra == "doc"
39
40
  Provides-Extra: test
40
- Requires-Dist: cartopy>=0.20; extra == "test"
41
- Requires-Dist: dill; extra == "test"
42
- Requires-Dist: gdal>=3.8.0; extra == "test"
43
- Requires-Dist: matplotlib; extra == "test"
44
- Requires-Dist: numpy; extra == "test"
45
- Requires-Dist: pandas; extra == "test"
46
- Requires-Dist: py_tools_ds>=0.19.0; extra == "test"
47
- Requires-Dist: scikit-image; extra == "test"
48
- Requires-Dist: shapely; extra == "test"
49
41
  Requires-Dist: pytest; extra == "test"
50
42
  Requires-Dist: pytest-cov; extra == "test"
51
43
  Requires-Dist: pytest-reporter-html1; extra == "test"
@@ -56,26 +48,10 @@ Requires-Dist: flake8; extra == "lint"
56
48
  Requires-Dist: pycodestyle; extra == "lint"
57
49
  Requires-Dist: pydocstyle; extra == "lint"
58
50
  Provides-Extra: dev
59
- Requires-Dist: setuptools-git; extra == "dev"
60
- Requires-Dist: cartopy>=0.20; extra == "dev"
61
- Requires-Dist: dill; extra == "dev"
62
- Requires-Dist: gdal>=3.8.0; extra == "dev"
63
- Requires-Dist: matplotlib; extra == "dev"
64
- Requires-Dist: numpy; extra == "dev"
65
- Requires-Dist: pandas; extra == "dev"
66
- Requires-Dist: py_tools_ds>=0.19.0; extra == "dev"
67
- Requires-Dist: scikit-image; extra == "dev"
68
- Requires-Dist: shapely; extra == "dev"
69
- Requires-Dist: pytest; extra == "dev"
70
- Requires-Dist: pytest-cov; extra == "dev"
71
- Requires-Dist: pytest-reporter-html1; extra == "dev"
72
- Requires-Dist: urlchecker; extra == "dev"
73
- Requires-Dist: parameterized; extra == "dev"
74
- Requires-Dist: sphinx-argparse; extra == "dev"
75
- Requires-Dist: sphinx_rtd_theme; extra == "dev"
76
- Requires-Dist: flake8; extra == "dev"
77
- Requires-Dist: pycodestyle; extra == "dev"
78
- Requires-Dist: pydocstyle; extra == "dev"
51
+ Requires-Dist: geoarray[test]; extra == "dev"
52
+ Requires-Dist: geoarray[doc]; extra == "dev"
53
+ Requires-Dist: geoarray[lint]; extra == "dev"
54
+ Dynamic: license-file
79
55
 
80
56
  ========
81
57
  geoarray
@@ -1343,7 +1343,7 @@ class GeoArray(object):
1343
1343
  # check availability of holoviews
1344
1344
  if interactive and not find_spec('holoviews'):
1345
1345
  warnings.warn("Interactive mode requires holoviews. Install it by running, e.g., "
1346
- "'conda install -c conda-forge holoviews'. Using non-interactive mode.")
1346
+ "'conda install -c conda-forge 'holoviews>1.12.7''. Using non-interactive mode.")
1347
1347
  interactive = False
1348
1348
 
1349
1349
  if interactive and image2plot.ndim == 3:
@@ -1992,7 +1992,7 @@ class GeoArray(object):
1992
1992
  (imXY[:, 0] >= self.columns) |\
1993
1993
  (imXY[:, 1] >= self.rows)
1994
1994
 
1995
- imYX = np.fliplr(np.array(imXY)).astype(np.int16)
1995
+ imYX = np.fliplr(np.array(imXY)).astype(np.int32)
1996
1996
 
1997
1997
  if imYX.size == 2: # only one coordinate pair
1998
1998
  Y, X = imYX[0].tolist()
@@ -22,5 +22,5 @@
22
22
  # limitations under the License.
23
23
 
24
24
 
25
- __version__ = '0.18.0'
26
- __versionalias__ = '20240705.01'
25
+ __version__ = '0.19.1'
26
+ __versionalias__ = '20250526.01'
@@ -1,15 +1,16 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: geoarray
3
- Version: 0.18.0
4
- Summary: Fast Python interface for geodata - either on disk or in memory.
5
- Home-page: https://git.gfz-potsdam.de/danschef/geoarray
6
- Author: Daniel Scheffler
7
- Author-email: danschef@gfz-potsdam.de
8
- License: Apache-2.0
3
+ Version: 0.19.1
4
+ Summary: Fast Python interface for geodata - either on disk or in memory
5
+ Author-email: Daniel Scheffler <daniel.scheffler@gfz-potsdam.de>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Source code, https://git.gfz-potsdam.de/danschef/geoarray
8
+ Project-URL: Issue Tracker, https://git.gfz-potsdam.de/danschef/geoarray/-/issues
9
+ Project-URL: Documentation, https://danschef.git-pages.gfz-potsdam.de/geoarray/doc/
10
+ Project-URL: Change log, https://git.gfz-potsdam.de/danschef/geoarray/-/blob/main/HISTORY.rst
9
11
  Keywords: geoarray,geoprocessing,gdal,numpy
10
12
  Classifier: Development Status :: 4 - Beta
11
13
  Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: Apache Software License
13
14
  Classifier: Natural Language :: English
14
15
  Classifier: Programming Language :: Python :: 3.8
15
16
  Classifier: Programming Language :: Python :: 3.9
@@ -32,20 +33,11 @@ Requires-Dist: shapely
32
33
  Provides-Extra: interactive-plotting
33
34
  Requires-Dist: folium; extra == "interactive-plotting"
34
35
  Requires-Dist: geojson; extra == "interactive-plotting"
35
- Requires-Dist: holoviews; extra == "interactive-plotting"
36
+ Requires-Dist: holoviews>1.12.7; extra == "interactive-plotting"
36
37
  Provides-Extra: doc
37
38
  Requires-Dist: sphinx-argparse; extra == "doc"
38
39
  Requires-Dist: sphinx_rtd_theme; extra == "doc"
39
40
  Provides-Extra: test
40
- Requires-Dist: cartopy>=0.20; extra == "test"
41
- Requires-Dist: dill; extra == "test"
42
- Requires-Dist: gdal>=3.8.0; extra == "test"
43
- Requires-Dist: matplotlib; extra == "test"
44
- Requires-Dist: numpy; extra == "test"
45
- Requires-Dist: pandas; extra == "test"
46
- Requires-Dist: py_tools_ds>=0.19.0; extra == "test"
47
- Requires-Dist: scikit-image; extra == "test"
48
- Requires-Dist: shapely; extra == "test"
49
41
  Requires-Dist: pytest; extra == "test"
50
42
  Requires-Dist: pytest-cov; extra == "test"
51
43
  Requires-Dist: pytest-reporter-html1; extra == "test"
@@ -56,26 +48,10 @@ Requires-Dist: flake8; extra == "lint"
56
48
  Requires-Dist: pycodestyle; extra == "lint"
57
49
  Requires-Dist: pydocstyle; extra == "lint"
58
50
  Provides-Extra: dev
59
- Requires-Dist: setuptools-git; extra == "dev"
60
- Requires-Dist: cartopy>=0.20; extra == "dev"
61
- Requires-Dist: dill; extra == "dev"
62
- Requires-Dist: gdal>=3.8.0; extra == "dev"
63
- Requires-Dist: matplotlib; extra == "dev"
64
- Requires-Dist: numpy; extra == "dev"
65
- Requires-Dist: pandas; extra == "dev"
66
- Requires-Dist: py_tools_ds>=0.19.0; extra == "dev"
67
- Requires-Dist: scikit-image; extra == "dev"
68
- Requires-Dist: shapely; extra == "dev"
69
- Requires-Dist: pytest; extra == "dev"
70
- Requires-Dist: pytest-cov; extra == "dev"
71
- Requires-Dist: pytest-reporter-html1; extra == "dev"
72
- Requires-Dist: urlchecker; extra == "dev"
73
- Requires-Dist: parameterized; extra == "dev"
74
- Requires-Dist: sphinx-argparse; extra == "dev"
75
- Requires-Dist: sphinx_rtd_theme; extra == "dev"
76
- Requires-Dist: flake8; extra == "dev"
77
- Requires-Dist: pycodestyle; extra == "dev"
78
- Requires-Dist: pydocstyle; extra == "dev"
51
+ Requires-Dist: geoarray[test]; extra == "dev"
52
+ Requires-Dist: geoarray[doc]; extra == "dev"
53
+ Requires-Dist: geoarray[lint]; extra == "dev"
54
+ Dynamic: license-file
79
55
 
80
56
  ========
81
57
  geoarray
@@ -10,8 +10,7 @@ LICENSE
10
10
  MANIFEST.in
11
11
  Makefile
12
12
  README.rst
13
- setup.cfg
14
- setup.py
13
+ pyproject.toml
15
14
  tox.ini
16
15
  .github/ISSUE_TEMPLATE.md
17
16
  docs/Makefile
@@ -0,0 +1,35 @@
1
+ cartopy>=0.20
2
+ dill
3
+ gdal>=3.8.0
4
+ matplotlib
5
+ numpy
6
+ pandas
7
+ py_tools_ds>=0.19.0
8
+ scikit-image
9
+ shapely
10
+
11
+ [dev]
12
+ geoarray[test]
13
+ geoarray[doc]
14
+ geoarray[lint]
15
+
16
+ [doc]
17
+ sphinx-argparse
18
+ sphinx_rtd_theme
19
+
20
+ [interactive_plotting]
21
+ folium
22
+ geojson
23
+ holoviews>1.12.7
24
+
25
+ [lint]
26
+ flake8
27
+ pycodestyle
28
+ pydocstyle
29
+
30
+ [test]
31
+ pytest
32
+ pytest-cov
33
+ pytest-reporter-html1
34
+ urlchecker
35
+ parameterized
@@ -0,0 +1,124 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+
4
+ # geoarray, A fast Python interface for image geodata - either on disk or in memory.
5
+ #
6
+ # Copyright (C) 2017-2023
7
+ # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
8
+ # - Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam,
9
+ # Germany (https://www.gfz-potsdam.de/)
10
+ #
11
+ # This software was developed within the context of the GeoMultiSens project funded
12
+ # by the German Federal Ministry of Education and Research
13
+ # (project grant code: 01 IS 14 010 A-C).
14
+ #
15
+ # Licensed under the Apache License, Version 2.0 (the "License");
16
+ # you may not use this file except in compliance with the License.
17
+ # You may obtain a copy of the License at
18
+ #
19
+ # https://www.apache.org/licenses/LICENSE-2.0
20
+ #
21
+ # Unless required by applicable law or agreed to in writing, software
22
+ # distributed under the License is distributed on an "AS IS" BASIS,
23
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
+ # See the License for the specific language governing permissions and
25
+ # limitations under the License.
26
+
27
+ [build-system]
28
+ requires = [
29
+ "setuptools>=61.2",
30
+ "setuptools-git",
31
+ ]
32
+ build-backend = "setuptools.build_meta"
33
+
34
+ [project]
35
+ name = "geoarray"
36
+ description = "Fast Python interface for geodata - either on disk or in memory"
37
+ authors = [{name = "Daniel Scheffler", email = "daniel.scheffler@gfz-potsdam.de"}]
38
+ license = "Apache-2.0"
39
+ license-files = ["LICEN[CS]E*", "AUTHORS.rst"]
40
+ classifiers = [
41
+ "Development Status :: 4 - Beta",
42
+ "Intended Audience :: Developers",
43
+ "Natural Language :: English",
44
+ "Programming Language :: Python :: 3.8",
45
+ "Programming Language :: Python :: 3.9",
46
+ "Programming Language :: Python :: 3.10",
47
+ "Programming Language :: Python :: 3.11",
48
+ "Programming Language :: Python :: 3.12",
49
+ ]
50
+ keywords = [
51
+ "geoarray",
52
+ "geoprocessing",
53
+ "gdal",
54
+ "numpy"
55
+ ]
56
+ requires-python = ">=3.8"
57
+ dependencies = [
58
+ "cartopy>=0.20", # older versions require pyepsg
59
+ "dill",
60
+ "gdal>=3.8.0", # use of context managers
61
+ "matplotlib",
62
+ "numpy",
63
+ "pandas",
64
+ "py_tools_ds>=0.19.0",
65
+ "scikit-image",
66
+ "shapely",
67
+ ]
68
+ dynamic = ["version"]
69
+
70
+ [project.readme]
71
+ file = "README.rst"
72
+ content-type = "text/x-rst"
73
+
74
+ [project.urls]
75
+ "Source code" = "https://git.gfz-potsdam.de/danschef/geoarray"
76
+ "Issue Tracker" = "https://git.gfz-potsdam.de/danschef/geoarray/-/issues"
77
+ "Documentation" = "https://danschef.git-pages.gfz-potsdam.de/geoarray/doc/"
78
+ "Change log" = "https://git.gfz-potsdam.de/danschef/geoarray/-/blob/main/HISTORY.rst"
79
+
80
+ [project.optional-dependencies]
81
+ interactive_plotting = [
82
+ "folium",
83
+ "geojson",
84
+ "holoviews>1.12.7",
85
+ ]
86
+ doc = [
87
+ "sphinx-argparse",
88
+ "sphinx_rtd_theme",
89
+ ]
90
+ test = [
91
+ "pytest",
92
+ "pytest-cov",
93
+ "pytest-reporter-html1",
94
+ "urlchecker",
95
+ "parameterized",
96
+ ]
97
+ lint = [
98
+ "flake8",
99
+ "pycodestyle",
100
+ "pydocstyle",
101
+ ]
102
+ dev = [
103
+ "geoarray[test]",
104
+ "geoarray[doc]",
105
+ "geoarray[lint]",
106
+ ]
107
+
108
+ [tool.setuptools]
109
+ zip-safe = false
110
+ include-package-data = true
111
+
112
+ [tool.setuptools.packages.find]
113
+ exclude = [
114
+ "docs*",
115
+ "examples*",
116
+ "tests*",
117
+ ]
118
+ namespaces = false
119
+
120
+ [tool.setuptools.dynamic]
121
+ version = {attr = "geoarray.version.__version__"}
122
+
123
+ [tool.distutils.bdist_wheel]
124
+ universal = 1
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -1,61 +0,0 @@
1
- cartopy>=0.20
2
- dill
3
- gdal>=3.8.0
4
- matplotlib
5
- numpy
6
- pandas
7
- py_tools_ds>=0.19.0
8
- scikit-image
9
- shapely
10
-
11
- [dev]
12
- setuptools-git
13
- cartopy>=0.20
14
- dill
15
- gdal>=3.8.0
16
- matplotlib
17
- numpy
18
- pandas
19
- py_tools_ds>=0.19.0
20
- scikit-image
21
- shapely
22
- pytest
23
- pytest-cov
24
- pytest-reporter-html1
25
- urlchecker
26
- parameterized
27
- sphinx-argparse
28
- sphinx_rtd_theme
29
- flake8
30
- pycodestyle
31
- pydocstyle
32
-
33
- [doc]
34
- sphinx-argparse
35
- sphinx_rtd_theme
36
-
37
- [interactive_plotting]
38
- folium
39
- geojson
40
- holoviews
41
-
42
- [lint]
43
- flake8
44
- pycodestyle
45
- pydocstyle
46
-
47
- [test]
48
- cartopy>=0.20
49
- dill
50
- gdal>=3.8.0
51
- matplotlib
52
- numpy
53
- pandas
54
- py_tools_ds>=0.19.0
55
- scikit-image
56
- shapely
57
- pytest
58
- pytest-cov
59
- pytest-reporter-html1
60
- urlchecker
61
- parameterized
geoarray-0.18.0/setup.cfg DELETED
@@ -1,23 +0,0 @@
1
- [bumpversion]
2
- current_version = 0.1.0
3
- commit = True
4
- tag = True
5
-
6
- [bumpversion:file:setup.py]
7
- search = version='{current_version}'
8
- replace = version='{new_version}'
9
-
10
- [bumpversion:file:geoarray/__init__.py]
11
- search = __version__ = '{current_version}'
12
- replace = __version__ = '{new_version}'
13
-
14
- [bdist_wheel]
15
- universal = 1
16
-
17
- [flake8]
18
- exclude = docs
19
-
20
- [egg_info]
21
- tag_build =
22
- tag_date = 0
23
-
geoarray-0.18.0/setup.py DELETED
@@ -1,106 +0,0 @@
1
- #!/usr/bin/env python
2
- # -*- coding: utf-8 -*-
3
-
4
- # geoarray, A fast Python interface for image geodata - either on disk or in memory.
5
- #
6
- # Copyright (C) 2017-2023
7
- # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
8
- # - Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam,
9
- # Germany (https://www.gfz-potsdam.de/)
10
- #
11
- # This software was developed within the context of the GeoMultiSens project funded
12
- # by the German Federal Ministry of Education and Research
13
- # (project grant code: 01 IS 14 010 A-C).
14
- #
15
- # Licensed under the Apache License, Version 2.0 (the "License");
16
- # you may not use this file except in compliance with the License.
17
- # You may obtain a copy of the License at
18
- #
19
- # https://www.apache.org/licenses/LICENSE-2.0
20
- #
21
- # Unless required by applicable law or agreed to in writing, software
22
- # distributed under the License is distributed on an "AS IS" BASIS,
23
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
- # See the License for the specific language governing permissions and
25
- # limitations under the License.
26
-
27
- from setuptools import setup, find_packages
28
-
29
-
30
- with open('README.rst') as readme_file:
31
- readme = readme_file.read()
32
-
33
- with open('HISTORY.rst') as history_file:
34
- history = history_file.read()
35
-
36
- version = {}
37
- with open("geoarray/version.py") as version_file:
38
- exec(version_file.read(), version)
39
-
40
- req = [
41
- 'cartopy>=0.20', # older versions require pyepsg
42
- 'dill',
43
- 'gdal>=3.8.0', # use of context managers
44
- 'matplotlib',
45
- 'numpy',
46
- 'pandas',
47
- 'py_tools_ds>=0.19.0',
48
- 'scikit-image',
49
- 'shapely'
50
- ]
51
-
52
- req_interactive_plotting = [
53
- 'folium',
54
- 'geojson',
55
- 'holoviews'
56
- ]
57
-
58
- req_setup = ['setuptools-git']
59
-
60
- req_test = req + ["pytest", "pytest-cov", "pytest-reporter-html1", "urlchecker", "parameterized"]
61
-
62
- req_doc = ['sphinx-argparse', 'sphinx_rtd_theme']
63
-
64
- req_lint = ['flake8', 'pycodestyle', 'pydocstyle']
65
-
66
- req_dev = req_setup + req_test + req_doc + req_lint
67
-
68
- setup(
69
- name='geoarray',
70
- version=version['__version__'],
71
- description="Fast Python interface for geodata - either on disk or in memory.",
72
- long_description=readme,
73
- long_description_content_type='text/x-rst',
74
- author="Daniel Scheffler",
75
- author_email='danschef@gfz-potsdam.de',
76
- url='https://git.gfz-potsdam.de/danschef/geoarray',
77
- packages=find_packages(exclude=['tests*']), # searches for packages with an __init__.py and returns a list
78
- package_dir={'geoarray': 'geoarray'},
79
- include_package_data=True,
80
- install_requires=req,
81
- license="Apache-2.0",
82
- zip_safe=False,
83
- keywords=['geoarray', 'geoprocessing', 'gdal', 'numpy'],
84
- classifiers=[
85
- 'Development Status :: 4 - Beta',
86
- 'Intended Audience :: Developers',
87
- 'License :: OSI Approved :: Apache Software License',
88
- 'Natural Language :: English',
89
- 'Programming Language :: Python :: 3.8',
90
- 'Programming Language :: Python :: 3.9',
91
- 'Programming Language :: Python :: 3.10',
92
- 'Programming Language :: Python :: 3.11',
93
- 'Programming Language :: Python :: 3.12'
94
- ],
95
- python_requires='>=3.8',
96
- test_suite='tests',
97
- tests_require=req_test,
98
- setup_requires=req_setup,
99
- extras_require={
100
- "interactive_plotting": req_interactive_plotting,
101
- "doc": req_doc,
102
- "test": req_test,
103
- "lint": req_lint,
104
- "dev": req_dev
105
- }
106
- )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes