-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release version 1.5.0, Merge pull request #751 from sentinel-hub/develop
Release version 1.5.0
- Loading branch information
Showing
234 changed files
with
4,095 additions
and
21,567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ For any question, feel free to contact us at [[email protected]](eoresear | |
|
||
We strive to provide high-quality working code, but bugs happen nevertheless. | ||
|
||
When reporting a bug, please check [here][open-bug-list] whether the bug was already reported. If not, open an issue with the **bug** label and report the following information: | ||
When reporting a bug, please check [the issue tracker][open-bug-list] whether the bug was already reported. If not, open an issue with the **bug** label and report the following information: | ||
|
||
* Issue description | ||
* How to reproduce the issue | ||
|
@@ -36,7 +36,7 @@ This information helps us to reproduce, pinpoint, and fix the reported issue. If | |
|
||
## Feature Requests | ||
|
||
Existing feature requests can be found [here][existing-feature-requests]. | ||
Existing feature requests can be found [in the issues][existing-feature-requests]. | ||
|
||
A new feature request can be created by opening a new issue with the **enhancement** label, and describing how the feature would benefit the **eo-learn** community. Providing an example use-case would help assessing the scope of the feature request. | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,187 +1,21 @@ | ||
# Makefile for creating a new release of the package and uploading it to PyPI | ||
|
||
PYTHON = python3 | ||
PACKAGES = core coregistration features geometry io mask ml_tools visualization | ||
PYLINT = pylint | ||
|
||
.PHONY: $(PACKAGES:test) | ||
.SILENT: pylint pylint-fast | ||
|
||
help: | ||
@echo "Use 'make upload-<package>' to upload the package to PyPi" | ||
@echo "Use 'make pylint' to run pylint on the code of all subpackages" | ||
@echo "Use 'make test-upload' to upload the package to testPyPi" | ||
@echo "Use 'make upload' to upload the package to PyPi" | ||
|
||
mypy: | ||
mypy \ | ||
core/eolearn/core \ | ||
coregistration/eolearn/coregistration \ | ||
geometry/eolearn/geometry \ | ||
features/eolearn/features \ | ||
io/eolearn/io \ | ||
mask/eolearn/mask \ | ||
ml_tools/eolearn/ml_tools \ | ||
visualization/eolearn/visualization | ||
|
||
pylint: | ||
# Runs pylint on all subpackages consecutively and makes sure any error status code gets propagated. | ||
export PYLINT_STATUS=0 | ||
for package in $(PACKAGES) ; do \ | ||
$(PYLINT) $$package/eolearn/$$package || export PYLINT_STATUS=$$?; \ | ||
done; | ||
exit $$PYLINT_STATUS | ||
|
||
|
||
pylint-fast: | ||
# Runs pylint on all subpackages in parallel. Because of that output verdicts are not in the order of package | ||
# names and this process cannot be interrupted. | ||
for package in $(PACKAGES) ; do \ | ||
$(PYLINT) $$package/eolearn/$$package & \ | ||
done; | ||
wait | ||
|
||
.ONESHELL: | ||
build-core: | ||
cd core | ||
cp ../LICENSE LICENSE | ||
rm -r dist build | true | ||
$(PYTHON) setup.py sdist bdist_wheel | ||
rm LICENSE | ||
|
||
.ONESHELL: | ||
build-coregistration: | ||
cd coregistration | ||
cp ../LICENSE LICENSE | ||
rm -r dist build | true | ||
$(PYTHON) setup.py sdist bdist_wheel | ||
rm LICENSE | ||
|
||
.ONESHELL: | ||
build-features: | ||
cd features | ||
cp ../LICENSE LICENSE | ||
rm -r dist build | true | ||
$(PYTHON) setup.py sdist bdist_wheel | ||
rm LICENSE | ||
|
||
.ONESHELL: | ||
build-geometry: | ||
cd geometry | ||
cp ../LICENSE LICENSE | ||
rm -r dist build | true | ||
$(PYTHON) setup.py sdist bdist_wheel | ||
rm LICENSE | ||
|
||
.ONESHELL: | ||
build-io: | ||
cd io | ||
cp ../LICENSE LICENSE | ||
rm -r dist build | true | ||
$(PYTHON) setup.py sdist bdist_wheel | ||
rm LICENSE | ||
|
||
.ONESHELL: | ||
build-mask: | ||
cd mask | ||
cp ../LICENSE LICENSE | ||
rm -r dist build | true | ||
$(PYTHON) setup.py sdist bdist_wheel | ||
rm LICENSE | ||
|
||
.ONESHELL: | ||
build-ml-tools: | ||
cd ml_tools | ||
cp ../LICENSE LICENSE | ||
rm -r dist build | true | ||
$(PYTHON) setup.py sdist bdist_wheel | ||
rm LICENSE | ||
|
||
.ONESHELL: | ||
build-visualization: | ||
cd visualization | ||
cp ../LICENSE LICENSE | ||
rm -r dist build | true | ||
$(PYTHON) setup.py sdist bdist_wheel | ||
rm LICENSE | ||
|
||
.ONESHELL: | ||
build-abstract-package: | ||
rm -r dist build | true | ||
$(PYTHON) setup.py sdist bdist_wheel | ||
|
||
upload-core: build-core | ||
twine upload core/dist/* | ||
|
||
upload-coregistration: build-coregistration | ||
twine upload coregistration/dist/* | ||
|
||
upload-features: build-features | ||
twine upload features/dist/* | ||
|
||
upload-geometry: build-geometry | ||
twine upload geometry/dist/* | ||
|
||
upload-io: build-io | ||
twine upload io/dist/* | ||
|
||
upload-mask: build-mask | ||
twine upload mask/dist/* | ||
|
||
upload-ml-tools: build-ml-tools | ||
twine upload ml_tools/dist/* | ||
|
||
upload-visualization: build-visualization | ||
twine upload visualization/dist/* | ||
|
||
upload-abstract-package: build-abstract-package | ||
twine upload dist/* | ||
|
||
upload-all: \ | ||
upload-core \ | ||
upload-coregistration \ | ||
upload-features \ | ||
upload-geometry \ | ||
upload-io \ | ||
upload-mask \ | ||
upload-ml-tools \ | ||
upload-visualization \ | ||
upload-abstract-package | ||
upload: | ||
rm -r dist | true | ||
python -m build --sdist --wheel | ||
twine upload --skip-existing dist/* | ||
|
||
# For testing: | ||
|
||
test-upload-core: build-core | ||
twine upload --repository testpypi core/dist/* | ||
|
||
test-upload-coregistration: build-coregistration | ||
twine upload --repository testpypi coregistration/dist/* | ||
|
||
test-upload-features: build-features | ||
twine upload --repository testpypi features/dist/* | ||
|
||
test-upload-geometry: build-geometry | ||
twine upload --repository testpypi geometry/dist/* | ||
|
||
test-upload-io: build-io | ||
twine upload --repository testpypi io/dist/* | ||
|
||
test-upload-mask: build-mask | ||
twine upload --repository testpypi mask/dist/* | ||
|
||
test-upload-ml-tools: build-ml-tools | ||
twine upload --repository testpypi ml_tools/dist/* | ||
|
||
test-upload-visualization: build-visualization | ||
twine upload --repository testpypi visualization/dist/* | ||
|
||
test-upload-abstract-package: build-abstract-package | ||
twine upload --repository testpypi dist/* | ||
|
||
test-upload-all: \ | ||
test-upload-core \ | ||
test-upload-coregistration \ | ||
test-upload-features \ | ||
test-upload-geometry \ | ||
test-upload-io \ | ||
test-upload-mask \ | ||
test-upload-ml-tools \ | ||
test-upload-visualization \ | ||
test-upload-abstract-package | ||
test-upload: | ||
rm -r dist | true | ||
python -m build --sdist --wheel | ||
twine upload --repository testpypi --skip-existing dist/* |
Oops, something went wrong.