Skip to content

Commit

Permalink
Removed nrt.data subpackage
Browse files Browse the repository at this point in the history
  • Loading branch information
loicdtx committed Aug 28, 2024
1 parent 5289b0b commit 8ba4258
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 437 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include LICENSE README.rst setup.py
include tests*/*.py
include tests/data/*.csv
include integration_test/*.py
recursive-include docs *.rst
recursive-include docs *.png
Expand Down
2 changes: 1 addition & 1 deletion nrt/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.1"
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
363 changes: 0 additions & 363 deletions nrt/data/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion nrt/data/mreCritValTable.json

This file was deleted.

3 changes: 0 additions & 3 deletions nrt/data/sentinel2_cube_subset_romania_10m.nc

This file was deleted.

3 changes: 0 additions & 3 deletions nrt/data/sentinel2_cube_subset_romania_20m.nc

This file was deleted.

3 changes: 0 additions & 3 deletions nrt/data/sentinel2_subset.nc

This file was deleted.

3 changes: 0 additions & 3 deletions nrt/data/tree_cover_density_2018_romania.tif

This file was deleted.

2 changes: 2 additions & 0 deletions nrt/monitor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the Licence for the specific language governing permissions and
# limitations under the Licence.

__path__ = __import__('pkgutil').extend_path(__path__, __name__)

import abc
import warnings
import datetime
Expand Down
52 changes: 52 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "nrt"
version = "0.3.0"
description = "Online monitoring with xarray"
readme = "README.rst"
keywords = ["sentinel2", "xarray", "datacube", "monitoring", "change"]
authors = [
{ name = "Loic Dutrieux", email = "loic.dutrieux@ec.europa.eu" },
{ name = "Jonas Viehweger" },
{ name = "Chris Holden" }
]
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
requires-python = ">=3.9"
dependencies = [
"numpy",
"scipy",
"xarray",
"rasterio",
"netCDF4",
"numba!=0.59.*",
"pandas",
"affine",
"nrt-data"
]

[project.urls]
"Homepage" = "https://github.com/ec-jrc/nrt.git"

[project.optional-dependencies]
tests = ["pytest"]
docs = [
"sphinx==7.4.7",
"dask",
"sphinx_rtd_theme==2.0.0",
"matplotlib==3.9.1",
"sphinx-gallery==0.17.0"
]

[tool.setuptools.packages.find]
where = ["."]

59 changes: 0 additions & 59 deletions setup.py

This file was deleted.

0 comments on commit 8ba4258

Please sign in to comment.