From 9428135538c7bb0c71ace6fe9de7f5fe2b6c0dde Mon Sep 17 00:00:00 2001 From: hadifawaz1999 Date: Mon, 29 Jul 2024 14:25:15 +0200 Subject: [PATCH] rename project --- elastic_warp_vis/__init__.py | 1 + {src => elastic_warp_vis}/draw_functions.py | 2 +- {src => elastic_warp_vis}/utils.py | 0 main.py | 4 ++-- pyproject.toml | 4 ++-- setup.py | 5 +++++ 6 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 elastic_warp_vis/__init__.py rename {src => elastic_warp_vis}/draw_functions.py (99%) rename {src => elastic_warp_vis}/utils.py (100%) create mode 100644 setup.py diff --git a/elastic_warp_vis/__init__.py b/elastic_warp_vis/__init__.py new file mode 100644 index 0000000..3dc1f76 --- /dev/null +++ b/elastic_warp_vis/__init__.py @@ -0,0 +1 @@ +__version__ = "0.1.0" diff --git a/src/draw_functions.py b/elastic_warp_vis/draw_functions.py similarity index 99% rename from src/draw_functions.py rename to elastic_warp_vis/draw_functions.py index 4cf226f..77404f8 100644 --- a/src/draw_functions.py +++ b/elastic_warp_vis/draw_functions.py @@ -13,7 +13,7 @@ from aeon.distances import cost_matrix from aeon.distances._alignment_paths import compute_min_return_path -from src.utils import alignment_path_to_plot +from elastic_warp_vis.utils import alignment_path_to_plot def draw_elastic( diff --git a/src/utils.py b/elastic_warp_vis/utils.py similarity index 100% rename from src/utils.py rename to elastic_warp_vis/utils.py diff --git a/main.py b/main.py index 43dcb5b..e67d76a 100644 --- a/main.py +++ b/main.py @@ -4,8 +4,8 @@ import hydra from omegaconf import DictConfig, OmegaConf -from src.utils import create_directory, load_data -from src.draw_functions import draw_elastic, draw_elastic_gif +from elastic_warp_vis.utils import create_directory, load_data +from elastic_warp_vis.draw_functions import draw_elastic, draw_elastic_gif @hydra.main(config_name="config_hydra.yaml", config_path="config") diff --git a/pyproject.toml b/pyproject.toml index 1838ced..6025565 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "elastic-warping-visualization" -version = "0.0.1" +version = "0.1.0" description = " Visualization of Elastic Warping of Time Series Data " authors = [ {name = "Ali Ismail-Fawaz", email = "ali-el-hadi.ismail-fawaz@uha.fr"}, @@ -66,4 +66,4 @@ dev = [ ] [tool.setuptools] -packages = ["src"] \ No newline at end of file +packages = ["elastic_warp_vis"] \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..ad1ad5d --- /dev/null +++ b/setup.py @@ -0,0 +1,5 @@ +# setup.py + +from setuptools import setup + +setup()