From 6e7ecf573fa4cb5c127e3d037c06d954851476b2 Mon Sep 17 00:00:00 2001 From: Martin Miglio Date: Mon, 16 Sep 2024 12:57:51 -0400 Subject: [PATCH] fix package naming --- {src => clashnetlib}/__init__.py | 0 {src => clashnetlib}/decision_maker.py | 0 {src => clashnetlib}/implements/__init__.py | 0 {src => clashnetlib}/implements/fight_decision_maker.py | 2 +- pyproject.toml | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename {src => clashnetlib}/__init__.py (100%) rename {src => clashnetlib}/decision_maker.py (100%) rename {src => clashnetlib}/implements/__init__.py (100%) rename {src => clashnetlib}/implements/fight_decision_maker.py (94%) diff --git a/src/__init__.py b/clashnetlib/__init__.py similarity index 100% rename from src/__init__.py rename to clashnetlib/__init__.py diff --git a/src/decision_maker.py b/clashnetlib/decision_maker.py similarity index 100% rename from src/decision_maker.py rename to clashnetlib/decision_maker.py diff --git a/src/implements/__init__.py b/clashnetlib/implements/__init__.py similarity index 100% rename from src/implements/__init__.py rename to clashnetlib/implements/__init__.py diff --git a/src/implements/fight_decision_maker.py b/clashnetlib/implements/fight_decision_maker.py similarity index 94% rename from src/implements/fight_decision_maker.py rename to clashnetlib/implements/fight_decision_maker.py index 3e57585..9f15363 100644 --- a/src/implements/fight_decision_maker.py +++ b/clashnetlib/implements/fight_decision_maker.py @@ -6,7 +6,7 @@ import numpy as np -from src.decision_maker import Decision, DecisionInput, DecisionMaker +from clashnetlib.decision_maker import Decision, DecisionInput, DecisionMaker FightDecisionInputValue = np.ndarray diff --git a/pyproject.toml b/pyproject.toml index 9fcdad7..1fa5f22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "clash-net-lib" -packages = [{ include = "src" }] +packages = [{ include = "clashnetlib" }] version = "v0.0.0" description = "The API for Clash Net" readme = "README.md"