56 lines
1.4 KiB
TOML
56 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "mysignal"
|
|
version = "0.2.0" # ← Déplace la version ici plutôt que dans tool.bumpver
|
|
description = "A short description of the project"
|
|
readme = "README.md"
|
|
requires-python = ">=3.6"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Your Name", email = "your.email@example.com"}
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Software Development :: Build Tools",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
]
|
|
dependencies = [
|
|
"numpy",
|
|
"scipy",
|
|
"pandas",
|
|
"PyWavelets"
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/yourusername/yourproject"
|
|
|
|
[tool.setuptools]
|
|
include-package-data = true
|
|
packages = {find = {}}
|
|
|
|
[tool.bumpver]
|
|
current_version = "0.2.0"
|
|
version_pattern = "MAJOR.MINOR.PATCH"
|
|
commit_message = "bump version {old_version} -> {new_version}"
|
|
tag_message = "v{new_version}"
|
|
commit = true
|
|
tag = true
|
|
push = false
|
|
|
|
[tool.bumpver.file_patterns]
|
|
"pyproject.toml" = [
|
|
'current_version = "{version}"',
|
|
'version = "{version}"', # Correspond à [project] version
|
|
]
|
|
"mysignal/__init__.py" = [
|
|
'__version__ = "{version}"'
|
|
]
|