From c7130bf8a6bbd4f3bddb212e4ecc528a713acae2 Mon Sep 17 00:00:00 2001 From: Ludovico Bianchi Date: Mon, 28 Oct 2024 14:11:17 -0500 Subject: [PATCH] Rename Python package --- .github/workflows/checks.yml | 2 +- .../__init__.py | 0 src/{flowsheet_processor => idaes_flowsheet_processor}/api.py | 0 .../conftest.py | 0 .../tests/test_api.py | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename src/{flowsheet_processor => idaes_flowsheet_processor}/__init__.py (100%) rename src/{flowsheet_processor => idaes_flowsheet_processor}/api.py (100%) rename src/{flowsheet_processor => idaes_flowsheet_processor}/conftest.py (100%) rename src/{flowsheet_processor => idaes_flowsheet_processor}/tests/test_api.py (99%) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 47acf70..b5bef25 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -93,7 +93,7 @@ jobs: - name: Run pytest run: | pip install pytest # ensure pytest is installed (should do nothing if already present from requirements-dev.txt) - pytest --pyargs flowsheet_processor --verbose + pytest --pyargs idaes_flowsheet_processor --verbose - name: Upload coverage report as job artifact if: matrix.coverage uses: actions/upload-artifact@v4 diff --git a/src/flowsheet_processor/__init__.py b/src/idaes_flowsheet_processor/__init__.py similarity index 100% rename from src/flowsheet_processor/__init__.py rename to src/idaes_flowsheet_processor/__init__.py diff --git a/src/flowsheet_processor/api.py b/src/idaes_flowsheet_processor/api.py similarity index 100% rename from src/flowsheet_processor/api.py rename to src/idaes_flowsheet_processor/api.py diff --git a/src/flowsheet_processor/conftest.py b/src/idaes_flowsheet_processor/conftest.py similarity index 100% rename from src/flowsheet_processor/conftest.py rename to src/idaes_flowsheet_processor/conftest.py diff --git a/src/flowsheet_processor/tests/test_api.py b/src/idaes_flowsheet_processor/tests/test_api.py similarity index 99% rename from src/flowsheet_processor/tests/test_api.py rename to src/idaes_flowsheet_processor/tests/test_api.py index 878709c..508a91f 100644 --- a/src/flowsheet_processor/tests/test_api.py +++ b/src/idaes_flowsheet_processor/tests/test_api.py @@ -21,7 +21,7 @@ from pyomo.environ import Var, value from pyomo.environ import SolverStatus, TerminationCondition -import flowsheet_processor.api as fsapi +import idaes_flowsheet_processor.api as fsapi pytest.importorskip( "watertap.flowsheets",