From eba77c8b0d68454ca69c4ab044b5b716d434e563 Mon Sep 17 00:00:00 2001 From: Wesley Maa Date: Mon, 13 Jan 2025 14:11:46 -0800 Subject: [PATCH] rename --- {kos-sim => kos_sim}/__init__.py | 0 {kos-sim => kos_sim}/py.typed | 0 {kos-sim => kos_sim}/requirements-dev.txt | 0 {kos-sim => kos_sim}/requirements.txt | 0 setup.py | 12 ++++++------ 5 files changed, 6 insertions(+), 6 deletions(-) rename {kos-sim => kos_sim}/__init__.py (100%) rename {kos-sim => kos_sim}/py.typed (100%) rename {kos-sim => kos_sim}/requirements-dev.txt (100%) rename {kos-sim => kos_sim}/requirements.txt (100%) diff --git a/kos-sim/__init__.py b/kos_sim/__init__.py similarity index 100% rename from kos-sim/__init__.py rename to kos_sim/__init__.py diff --git a/kos-sim/py.typed b/kos_sim/py.typed similarity index 100% rename from kos-sim/py.typed rename to kos_sim/py.typed diff --git a/kos-sim/requirements-dev.txt b/kos_sim/requirements-dev.txt similarity index 100% rename from kos-sim/requirements-dev.txt rename to kos_sim/requirements-dev.txt diff --git a/kos-sim/requirements.txt b/kos_sim/requirements.txt similarity index 100% rename from kos-sim/requirements.txt rename to kos_sim/requirements.txt diff --git a/setup.py b/setup.py index 783c562..f59bac6 100644 --- a/setup.py +++ b/setup.py @@ -10,22 +10,22 @@ long_description: str = f.read() -with open("kos-sim/requirements.txt", "r", encoding="utf-8") as f: +with open("kos_sim/requirements.txt", "r", encoding="utf-8") as f: requirements: list[str] = f.read().splitlines() -with open("kos-sim/requirements-dev.txt", "r", encoding="utf-8") as f: +with open("kos_sim/requirements-dev.txt", "r", encoding="utf-8") as f: requirements_dev: list[str] = f.read().splitlines() -with open("kos-sim/__init__.py", "r", encoding="utf-8") as fh: +with open("kos_sim/__init__.py", "r", encoding="utf-8") as fh: version_re = re.search(r"^__version__ = \"([^\"]*)\"", fh.read(), re.MULTILINE) -assert version_re is not None, "Could not find version in kos-sim/__init__.py" +assert version_re is not None, "Could not find version in kos_sim/__init__.py" version: str = version_re.group(1) setup( - name="kos-sim", + name="kos_sim", version=version, description="The kos-sim project", author="Wesley Maa", @@ -36,7 +36,7 @@ install_requires=requirements, tests_require=requirements_dev, extras_require={"dev": requirements_dev}, - packages=["kos-sim"], + packages=["kos_sim"], # entry_points={ # "console_scripts": [ # "kos-sim.cli:main",