diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml index 0997874..28b6d4a 100644 --- a/.github/workflows/test_suite.yml +++ b/.github/workflows/test_suite.yml @@ -10,6 +10,7 @@ on: - '**.msh' - '**.geo' - '.github/workflows/test_suite.yml' + - 'pyproject.toml' # Run test suite whenever commits are pushed to an open PR pull_request: @@ -18,6 +19,7 @@ on: - '**.msh' - '**.geo' - '.github/workflows/test_suite.yml' + - 'pyproject.toml' # Run test suite every Sunday at 1AM schedule: diff --git a/Makefile b/Makefile index b64fe24..4205e35 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,11 @@ install: @echo "Installing Goalie..." @python3 -m pip install -e . @echo "Done." + +install_dev: + @echo "Installing Goalie for development..." + @python3 -m pip install -e .[dev] + @echo "Done." @echo "Setting up pre-commit..." @pre-commit install @echo "Done." diff --git a/pyproject.toml b/pyproject.toml index bcfe7fa..c8dfc18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,13 +4,6 @@ requires = ["setuptools"] [project] name = "goalie" version = "0.2" -dependencies = [ - "cffconvert", - "coverage", - "parameterized", - "pre-commit", - "ruff", -] authors = [ {name = "Joseph G. Wallwork", email = "joe.wallwork@outlook.com"}, {name = "Davor Dundovic"}, @@ -31,6 +24,15 @@ classifiers = [ "Programming Language :: Python", ] +[project.optional-dependencies] +dev = [ + "cffconvert", + "coverage", + "parameterized", + "pre-commit", + "ruff", +] + [project.urls] Homepage = "https://mesh-adaptation.github.io" Documentation = "https://mesh-adaptation.github.io/goalie/index.html"