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)