From ae45313867cbff10e922dd86e3616c15e2e70960 Mon Sep 17 00:00:00 2001 From: Radoslaw Guzinski Date: Mon, 10 Jun 2024 13:54:28 +0200 Subject: [PATCH] Change Python package name from pyefast to efast Now it corresponds to GitHub repository name --- README.md | 4 ++-- {pyefast => efast}/__init__.py | 0 {pyefast => efast}/efast.py | 0 {pyefast => efast}/s2_processing.py | 0 {pyefast => efast}/s3_processing.py | 0 pyproject.toml | 4 ++-- run_efast.py | 6 +++--- 7 files changed, 7 insertions(+), 7 deletions(-) rename {pyefast => efast}/__init__.py (100%) rename {pyefast => efast}/efast.py (100%) rename {pyefast => efast}/s2_processing.py (100%) rename {pyefast => efast}/s3_processing.py (100%) diff --git a/README.md b/README.md index cf8f9cf..c1506bb 100644 --- a/README.md +++ b/README.md @@ -60,10 +60,10 @@ pip install git+https://github.com/DHI-GRAS/efast.git ### Usage ```python -import pyefast +import efast ... -pyefast.fusion( +efast.fusion( ... ) ``` diff --git a/pyefast/__init__.py b/efast/__init__.py similarity index 100% rename from pyefast/__init__.py rename to efast/__init__.py diff --git a/pyefast/efast.py b/efast/efast.py similarity index 100% rename from pyefast/efast.py rename to efast/efast.py diff --git a/pyefast/s2_processing.py b/efast/s2_processing.py similarity index 100% rename from pyefast/s2_processing.py rename to efast/s2_processing.py diff --git a/pyefast/s3_processing.py b/efast/s3_processing.py similarity index 100% rename from pyefast/s3_processing.py rename to efast/s3_processing.py diff --git a/pyproject.toml b/pyproject.toml index 028da26..60018a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools >= 61.0"] build-backend = "setuptools.build_meta" [project] -name = "pyefast" +name = "efast" authors = [ {name = "sa", email = "smth@email.com"}, ] @@ -30,7 +30,7 @@ dev = [ ] [tool.setuptools.packages.find] -include = ["pyefast"] +include = ["efast"] [tool.ruff.lint] select = ["I"] diff --git a/run_efast.py b/run_efast.py index 41c663f..9462325 100644 --- a/run_efast.py +++ b/run_efast.py @@ -32,9 +32,9 @@ from dateutil import rrule -import pyefast.efast as efast -import pyefast.s2_processing as s2 -import pyefast.s3_processing as s3 +import efast.efast as efast +import efast.s2_processing as s2 +import efast.s3_processing as s3 # Test parameters path = Path("./test_data").absolute()