diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9aa65670..54141c37 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,11 +15,6 @@ repos: hooks: - id: black - - repo: https://github.com/python-poetry/poetry - rev: 1.8.0 - hooks: - - id: poetry-check - - repo: "https://github.com/domluna/JuliaFormatter.jl" rev: "v1.0.54" hooks: diff --git a/pyproject.toml b/pyproject.toml index 9d209bf1..a81755d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = ['setuptools>=73.0.0'] build-backend = 'setuptools.build_meta' -[tool.poetry] +[project] name = "femwell" version = "0.0.1" authors = ["Helge Gehring"] @@ -23,30 +23,32 @@ classifiers = [ license = "GPLv3" readme = "README.md" -[tool.poetry.urls] -Documentation = "https://HelgeGehring.github.io/femwell/" +dependencies = [ + "python >=3.8", + "scikit-fem >=8.1.0", + "gmsh = 4.13.1", + "pygmsh", + "matplotlib", + "meshwell>=1.0.2" +] -[tool.poetry.dependencies] -python = ">=3.8" -scikit-fem = ">=8.1.0" -gmsh = "4.13.1" -pygmsh = "*" -matplotlib = "*" -meshwell = ">=1.0.2" +[project.optional-dependencies] +test = [ + "pytest", + "flake8" +] -[tool.poetry.group.test.dependencies] -pytest = "*" -flake8 = "*" +[project.urls] +Documentation = "https://HelgeGehring.github.io/femwell/" -[tool.poetry.group.docs.dependencies] -python = ">=3.10" -tqdm = "*" -enlighten = "*" -pint = ">0.20.1" -# sphinx-book-theme = "*" -jupytext = "*" -# myst-parser = "*" -pandas = "*" +docs = [ + "tqdm", + "enlighten", + "pint>0.20.1", + "sphinx-book-theme", + "jupytext", + "pandas" +] [tool.black] line-length = 100