From a2aa200fc27c504b010b6bdeef907c676298965f Mon Sep 17 00:00:00 2001 From: EdmundGoodman Date: Thu, 8 Feb 2024 18:51:34 +0000 Subject: [PATCH] Rename folders --- pyproject.toml | 12 ++++++------ .../__init__.py | 0 .../__main__.py | 0 src/{pyproject_template => hpc_multibench}/main.py | 0 src/{pyproject_template => hpc_multibench}/py.typed | 0 tests/test_main.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename src/{pyproject_template => hpc_multibench}/__init__.py (100%) rename src/{pyproject_template => hpc_multibench}/__main__.py (100%) rename src/{pyproject_template => hpc_multibench}/main.py (100%) rename src/{pyproject_template => hpc_multibench}/py.typed (100%) diff --git a/pyproject.toml b/pyproject.toml index 57e704e..e181f66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,15 +1,15 @@ [tool.poetry] -name = "pyproject-template" +name = "hpc-multibench" version = "0.1.0" -description = "A template for making new python projects with all the bells and whistles" +description = "A tool to generate and run HPC batch computer jobs via Slurm from a YAML configuration file" authors = ["EdmundGoodman "] license = "MIT" readme = "README.md" -repository = "https://github.com/EdmundGoodman/pyproject_template" -homepage = "https://edmundgoodman.github.io/pyproject_template" +repository = "https://github.com/EdmundGoodman/hpc-multibench" +homepage = "https://edmundgoodman.github.io/hpc-multibench" [tool.poetry.scripts] -main = "pyproject_template.main:main" +main = "hpc-multibench.main:main" [build-system] requires = ["poetry-core"] @@ -113,7 +113,7 @@ markers = [ [tool.coverage.run] branch = true source = ["src/"] -omit = ["src/pyproject_template/__main__.py"] +omit = ["src/hpc-multibench/__main__.py"] [tool.coverage.report] fail_under = 90 diff --git a/src/pyproject_template/__init__.py b/src/hpc_multibench/__init__.py similarity index 100% rename from src/pyproject_template/__init__.py rename to src/hpc_multibench/__init__.py diff --git a/src/pyproject_template/__main__.py b/src/hpc_multibench/__main__.py similarity index 100% rename from src/pyproject_template/__main__.py rename to src/hpc_multibench/__main__.py diff --git a/src/pyproject_template/main.py b/src/hpc_multibench/main.py similarity index 100% rename from src/pyproject_template/main.py rename to src/hpc_multibench/main.py diff --git a/src/pyproject_template/py.typed b/src/hpc_multibench/py.typed similarity index 100% rename from src/pyproject_template/py.typed rename to src/hpc_multibench/py.typed diff --git a/tests/test_main.py b/tests/test_main.py index a86a358..d124ac4 100755 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -4,7 +4,7 @@ import pytest -from pyproject_template.main import get_greeting, main +from hpc_multibench.main import get_greeting, main def test_get_greeting() -> None: