diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index f09b833..32cccf1 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -25,7 +25,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e . + pip install -e .[dev] - name: Run pylint run: | @@ -48,7 +48,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e . + pip install -e .[dev] - name: Run unit tests run: | diff --git a/pyproject.toml b/pyproject.toml index 6d00f48..cf3c4e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,18 +1,25 @@ [build-system] -requires = ["poetry-core>=1.0.0"] +requires = ["poetry-core>=1.2.0"] build-backend = "poetry.core.masonry.api" [tool.poetry] name = "gcnn" version = "0.1.0" authors = [ - "Marius Kurz ", + "Marius Kurz ", ] description = "An implementation of Graph Convolutional Neural Networks (GCNN) using TensorFlow." license = "MIT" readme = "README.md" repository = "https://github.com/m-kurz/gcnn/" -keywords = ["Graph Convolutional Neural Networks", "TensorFlow", "Graph Neural Networks"] +keywords = [ + "Graph Convolutional Neural Networks", + "TensorFlow", + "Graph Neural Networks", + "Geometric Deep Learning", + "Machine Learning", + "Deep Learning" +] classifiers = [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: MIT License", @@ -24,6 +31,15 @@ classifiers = [ tensorflow = ">=2.15" numpy = "*" matplotlib = "*" -pytest = "*" -pytest-cov = "*" -pylint = "*" + +# Add development dependencies as `dev` extra +pytest = { version = "*", optional = true} +pytest-cov = { version = "*", optional = true} +pylint = { version = "*", optional = true} + +[tool.poetry.extras] +dev = [ + "pytest", + "pytest-cov", + "pylint" +]