diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1ff5816..35dda8b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,4 +29,3 @@ jobs: getting-started/installation/index.html tutorials/01-first-hierarchy/index.html api/patchwork/index.html - api/patchwork/main/index.html diff --git a/pyproject.toml b/pyproject.toml index 389e546..d376ce4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,9 +61,6 @@ test = [ "pytest", "pytest-cov", "patchwork-amr[pyccel]" ] [project.urls] Source = "https://github.com/max-models/patchwork" -[project.scripts] -patchwork = "patchwork.main:main" - [project.entry-points."scope_profiler.opt_in_tags"] patchwork = "patchwork" diff --git a/src/patchwork/main.py b/src/patchwork/main.py deleted file mode 100644 index 6016c8e..0000000 --- a/src/patchwork/main.py +++ /dev/null @@ -1,8 +0,0 @@ -"""Command-line entry point for Patchwork.""" - -from __future__ import annotations - - -def main() -> None: - """Print a short usage hint for the Patchwork examples.""" - print("Patchwork: run `python examples/two_level_mesh.py` to plot a refined mesh.") diff --git a/src/patchwork/tests/unit/test_app.py b/src/patchwork/tests/unit/test_app.py deleted file mode 100644 index 9459478..0000000 --- a/src/patchwork/tests/unit/test_app.py +++ /dev/null @@ -1,9 +0,0 @@ -def test_import_app(): - from patchwork.main import main - - print("app imported") - main() - - -if __name__ == "__main__": - test_import_app()