doc and install

This commit is contained in:
François Boulogne 2025-06-25 10:58:53 +02:00
parent 74cea0083d
commit 42dcda2aaf
4 changed files with 93 additions and 3 deletions

View file

@ -15,6 +15,31 @@ dependencies = [
"matplotlib>=1.3.1",
]
[tool.setuptools]
packages = ["optifik"]
[tool.bumpver]
current_version = "0.1.0"
version_pattern = "MAJOR.MINOR.PATCH"
commit = true
tag = true
push = false
[bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
]
"optifik/__init__.py" = [
'version="{pep440_version}",',
]
"README.md" = [
'{version}',
'{pep440_version}',
]
[project.urls]
Homepage = "https://github.com/votrecompte/votreprojet"
@ -22,13 +47,23 @@ 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]
dev = [
"pytest",
"pytest-cov"
"pytest-cov",
"bumpver"
]
docs = [
"sphinx>=7.0",
"sphinx-rtd-theme>=2.0",
"numpydoc>=1.6",
"myst-parser>=2.0", # Markdown + reStructuredText
"sphinx-autodoc-typehints>=2.0",
"sphinx-copybutton>=0.5",
"sphinx-design>=0.5",
#"matplotlib>=3.0", # For plots in docstring
]
[tool.setuptools.package-data]