From dbe3b9c6cf0327aade7fb83b408a5da95e1781ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Tue, 6 Jan 2026 18:11:18 +0100 Subject: [PATCH 1/5] upd --- mysignal/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysignal/__init__.py b/mysignal/__init__.py index f9b925b..57cc51c 100644 --- a/mysignal/__init__.py +++ b/mysignal/__init__.py @@ -1 +1 @@ -__version__ = '0.1.31' +__version__ = "0.1.32" From f373798d1191995e4362b8903d0d62f3557d25e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Tue, 6 Jan 2026 18:12:29 +0100 Subject: [PATCH 2/5] upd --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 51cb859..a4a5a38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ packages = {find = {}} # sample = "sample:main" [tool.bumpver] -current_version = "0.1.31" # Définissez votre version initiale ici +current_version = "0.1.32" # Définissez votre version initiale ici version_pattern = "MAJOR.MINOR.PATCH" commit_message = "bump version {old_version} -> {new_version}" tag_message = "v{new_version}" From dbd4de1918b7b00d3405edb434c52bc6df08a8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Tue, 6 Jan 2026 18:13:07 +0100 Subject: [PATCH 3/5] upd --- pyproject.toml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a4a5a38..c258ffb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mysignal" +version = "0.1.32" # ← 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" @@ -33,17 +34,11 @@ dependencies = [ Homepage = "https://github.com/yourusername/yourproject" [tool.setuptools] -# Inclure les fichiers de données spécifiés dans MANIFEST.in include-package-data = true -# Trouver automatiquement les packages packages = {find = {}} -# Configuration optionnelle pour scripts d'entrée -# [project.scripts] -# sample = "sample:main" - [tool.bumpver] -current_version = "0.1.32" # Définissez votre version initiale ici +current_version = "0.1.32" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "bump version {old_version} -> {new_version}" tag_message = "v{new_version}" @@ -54,10 +49,10 @@ push = false [tool.bumpver.file_patterns] "pyproject.toml" = [ 'current_version = "{version}"', - 'version = "{version}"', + 'version = "{version}"', # Correspond à [project] version ] "setup.py" = [ - 'version = read_version(\'mysignal\')', + "version = read_version('mysignal')", # Pattern simplifié sans espaces multiples ] "mysignal/__init__.py" = [ '__version__ = "{version}"' From 66ee79f62ab7d4141476e0fe9ad72040575c3ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Tue, 6 Jan 2026 18:14:45 +0100 Subject: [PATCH 4/5] upd --- pyproject.toml | 4 +-- setup.py | 72 -------------------------------------------------- 2 files changed, 2 insertions(+), 74 deletions(-) delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml index c258ffb..e097483 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mysignal" -version = "0.1.32" # ← Déplace la version ici plutôt que dans tool.bumpver +version = "0.1.33" # ← 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" @@ -38,7 +38,7 @@ include-package-data = true packages = {find = {}} [tool.bumpver] -current_version = "0.1.32" +current_version = "0.1.33" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "bump version {old_version} -> {new_version}" tag_message = "v{new_version}" diff --git a/setup.py b/setup.py deleted file mode 100644 index b9b32fd..0000000 --- a/setup.py +++ /dev/null @@ -1,72 +0,0 @@ - -import os -import re -from setuptools import setup, find_packages - -def read_version(name): - with open(os.path.join(os.path.dirname(__file__), name, '__init__.py')) as f: - for line in f: - match = re.match(r"^__version__ = ['\"]([^'\"]*)['\"]", line) - if match: - return match.group(1) - raise RuntimeError("Unable to find version string.") - -def parse_requirements(filename): - with open(filename, 'r') as file: - return file.read().splitlines() - -# Get the long description from the README file -here = os.path.abspath(os.path.dirname(__file__)) -with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: - long_description = f.read() - - -setup( - name='mysignal', # Required - version = read_version('mysignal'), - description='A short description of the project', # Optional - long_description=long_description, # Optional - long_description_content_type='text/markdown', # Optional (see note above) - url='https://github.com/yourusername/yourproject', # Optional - author='Your Name', # Optional - author_email='your.email@example.com', # Optional - - # Automatically find packages in the current directory - packages=find_packages(), # Required - - # Include additional files specified in MANIFEST.in - include_package_data=True, # Optional - - # Define your dependencies in a separate file - install_requires=parse_requirements('requirements.txt'), # Optional - - # Classifiers help users find your project by categorizing it - 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', - ], - - # Specify the Python versions you support - python_requires='>=3.6, <4', - - # Specify additional groups of dependencies (e.g., for testing) - # extras_require={ - # 'dev': ['check-manifest'], - # 'test': ['coverage'], - # }, - - # You can also specify entry points for command-line scripts - # entry_points={ - # 'console_scripts': [ - # 'sample=sample:main', - # ], - # }, -) - From 8d15b4576cc8b669a4d49b91fdbbbe88f8e19458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Tue, 6 Jan 2026 18:15:29 +0100 Subject: [PATCH 5/5] fix all --- pyproject.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e097483..a9df05e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mysignal" -version = "0.1.33" # ← Déplace la version ici plutôt que dans tool.bumpver +version = "0.1.34" # ← 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" @@ -38,7 +38,7 @@ include-package-data = true packages = {find = {}} [tool.bumpver] -current_version = "0.1.33" +current_version = "0.1.34" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "bump version {old_version} -> {new_version}" tag_message = "v{new_version}" @@ -51,9 +51,6 @@ push = false 'current_version = "{version}"', 'version = "{version}"', # Correspond à [project] version ] -"setup.py" = [ - "version = read_version('mysignal')", # Pattern simplifié sans espaces multiples -] "mysignal/__init__.py" = [ '__version__ = "{version}"' ]