diff --git a/festim/boundary_conditions/fluxes/surface_kinetics.py b/festim/boundary_conditions/fluxes/surface_kinetics.py index 77df91caa..53bf3f54f 100644 --- a/festim/boundary_conditions/fluxes/surface_kinetics.py +++ b/festim/boundary_conditions/fluxes/surface_kinetics.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index a7ce20481..39c4b1b87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,5 +6,35 @@ requires = [ ] build-backend = "setuptools.build_meta" +[project] +name = "festim" +authors = [ + {name = "Remi Delaporte-Mathurin", email = "rdelaportemathurin@gmail.com"}, +] +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" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index dfb5b643c..000000000 --- a/setup.cfg +++ /dev/null @@ -1,33 +0,0 @@ - - -[metadata] -name = FESTIM -author = Remi Delaporte-Mathurin -author_email = rdelaportemathurin@gmail.com -description = Finite element simulations of hydrogen transport -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/festim-dev/FESTIM -license = Apache-2.0 -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 - License :: OSI Approved :: Apache Software License - Operating System :: OS Independent -project_urls = - Source = https://github.com/festim-dev/FESTIM - Tracker = https://github.com/festim-dev/FESTIM/issues - -[options] -packages = find: -python_requires= >=3.6 - -[options.extras_require] -tests = - pytest >= 5.4.3 diff --git a/setup.py b/setup.py deleted file mode 100644 index 1abbd068c..000000000 --- a/setup.py +++ /dev/null @@ -1,4 +0,0 @@ -import setuptools - -if __name__ == "__main__": - setuptools.setup()