From 80069bb60280c89a2c60340bacebaf4875c1d30c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moussouni=2C=20Ya=C3=ABl?= Date: Fri, 21 Nov 2025 16:12:09 +0100 Subject: [PATCH] 2025-11-21: Working structure --- pyproject.toml | 2 +- src/{manchot-plot => manchot_plot}/__init__.py | 2 +- .../manchot-plot.py => manchot_plot/manchot_plot.py} | 3 ++- tests/test.py | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) rename src/{manchot-plot => manchot_plot}/__init__.py (97%) rename src/{manchot-plot/manchot-plot.py => manchot_plot/manchot_plot.py} (97%) diff --git a/pyproject.toml b/pyproject.toml index 7a17ae4..60dc883 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ # along with this program. If not, see https://www.gnu.org/licenses/. [project] -name = "manchot-plot" +name = "manchot_plot" version = "0.0.1" authors = [ { name="Moussouni, Yaƫl", email="yael.moussouni@astro.unistra.fr" }, diff --git a/src/manchot-plot/__init__.py b/src/manchot_plot/__init__.py similarity index 97% rename from src/manchot-plot/__init__.py rename to src/manchot_plot/__init__.py index b779461..e784126 100644 --- a/src/manchot-plot/__init__.py +++ b/src/manchot_plot/__init__.py @@ -29,4 +29,4 @@ You should have received a copy of the GNU General Public License along with this program. If not, see www.gnu.org/licenses/. """ -from manchot_plot import * +from .manchot_plot import * diff --git a/src/manchot-plot/manchot-plot.py b/src/manchot_plot/manchot_plot.py similarity index 97% rename from src/manchot-plot/manchot-plot.py rename to src/manchot_plot/manchot_plot.py index a72f810..7d63dc6 100644 --- a/src/manchot-plot/manchot-plot.py +++ b/src/manchot_plot/manchot_plot.py @@ -29,4 +29,5 @@ You should have received a copy of the GNU General Public License along with this program. If not, see www.gnu.org/licenses/. """ -a = 0 +def ping(): + return "pong" diff --git a/tests/test.py b/tests/test.py index 215e0ad..4b04a2b 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,3 +1,3 @@ -import manchot +import manchot_plot -print(manchot.a) +print(manchot_plot.a)