Skip to content

Commit

Permalink
Merge pull request festim-dev#877 from shimwell/moving_setups_to_pypr…
Browse files Browse the repository at this point in the history
…oject.toml

moving setup.cfg and setup.py to pyproject.toml
  • Loading branch information
RemDelaporteMathurin authored Aug 19, 2024
2 parents c8a0c66 + 68bc0a2 commit abe3942
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 38 deletions.
2 changes: 1 addition & 1 deletion festim/boundary_conditions/fluxes/surface_kinetics.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __init__(
J_vs,
surfaces,
initial_condition,
**prms
**prms,
) -> None:
super().__init__(surfaces=surfaces, field=0)
self.k_sb = k_sb
Expand Down
30 changes: 30 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,35 @@ requires = [
]
build-backend = "setuptools.build_meta"

[project]
name = "festim"
authors = [
{name = "Remi Delaporte-Mathurin", email = "[email protected]"},
]
description = "Finite element simulations of hydrogen transport"
license = {file = "LICENSE"}
classifiers = [
"Natural Language :: English",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
requires-python = ">=3.6"
dynamic = ["version"]

[project.optional-dependencies]
tests = ["pytest>=5.4.3"]

[project.urls]
Repository = "https://github.com/festim-dev/FESTIM"
Issues = "https://github.com/festim-dev/FESTIM/issues"

[tool.setuptools_scm]
write_to = "festim/_version.py"
33 changes: 0 additions & 33 deletions setup.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions setup.py

This file was deleted.

0 comments on commit abe3942

Please sign in to comment.