update pyproject

This commit is contained in:
François Boulogne 2025-06-25 09:01:46 +02:00
parent 12f4347f2d
commit f03e26a3e4

View file

@ -1,9 +1,10 @@
[project] [project]
name = "optifik" name = "optifik"
version = "0.1.0" version = "0.1.0"
description = "Projet scientifique pour des optimisations numériques" description = "Compute film thickness from interferometry"
authors = [ authors = [
{ name = "François Boulogne", email = "francois.boulogne@cnrs.fr" } { name = "François Boulogne", email = "francois.boulogne@cnrs.fr" },
{ name = "Victor Ziapkoff", email = "victor.ziapkoff@universite-paris-saclay.fr" },
] ]
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
readme = "README.md" readme = "README.md"
@ -13,18 +14,35 @@ dependencies = [
"scipy", "scipy",
] ]
[project.urls]
Homepage = "https://github.com/votrecompte/votreprojet"
Documentation = "https://github.com/votrecompte/votreprojet#readme"
Repository = "https://github.com/sciunto-org/optifik"
Issues = "https://github.com/sciunto-org/optifik/issues"
[tool.setuptools]
packages = ["optifik"]
[project.optional-dependencies] [project.optional-dependencies]
dev = [ dev = [
"pytest", "pytest",
"pytest-cov" "pytest-cov"
] ]
[tool.setuptools.package-data]
optifik = ["data/*"]
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = "-v --tb=short --disable-warnings" #addopts = "-v --tb=short --disable-warnings"
testpaths = ["tests"] testpaths = ["tests"]
pythonpath = ["src"] python_files = "test_*.py"
pythonpath = ["."]
[build-system] [build-system]
requires = ["setuptools>=61.0"] requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[tool.coverage.run]
source = ["optifik"]
omit = ["optifik/tests/*"]