From f3e090c84521746bb70f308ffd3891731ae50373 Mon Sep 17 00:00:00 2001 From: Spiros Maggioros Date: Fri, 19 Jul 2024 11:59:08 +0300 Subject: [PATCH] Fixed possible bug with filename and package --- spare_scores/__init__.py | 2 +- spare_scores/cli.py | 3 +-- spare_scores/{spare_scores.py => spare.py} | 0 3 files changed, 2 insertions(+), 3 deletions(-) rename spare_scores/{spare_scores.py => spare.py} (100%) diff --git a/spare_scores/__init__.py b/spare_scores/__init__.py index dcf7057..2d0fd79 100644 --- a/spare_scores/__init__.py +++ b/spare_scores/__init__.py @@ -1,2 +1,2 @@ from .cli import main -from .spare_scores import load_model, spare_test, spare_train +from .spare import load_model, spare_test, spare_train diff --git a/spare_scores/cli.py b/spare_scores/cli.py index a4c9f0b..93848c4 100644 --- a/spare_scores/cli.py +++ b/spare_scores/cli.py @@ -1,8 +1,7 @@ import argparse import pkg_resources # type: ignore - -from spare_scores import spare_test, spare_train +from spare import spare_test, spare_train VERSION = pkg_resources.require("spare_scores")[0].version diff --git a/spare_scores/spare_scores.py b/spare_scores/spare.py similarity index 100% rename from spare_scores/spare_scores.py rename to spare_scores/spare.py