diff --git a/.bumpversion.cfg b/.bumpversion.cfg deleted file mode 100644 index c29801c..0000000 --- a/.bumpversion.cfg +++ /dev/null @@ -1,13 +0,0 @@ -[bumpversion] -current_version = 0.5 -commit = true -tag = true -tag_name = {new_version} -parse = (?P\d+)\.(?P\d+) -serialize = {major}.{minor} - -[bumpversion:file:setup.cfg] -search = version = {current_version} -replace = version = {new_version} - -[bumpversion:file:setuptools_grpc/__init__.py] diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b787544..6263a40 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,14 @@ ChangeLog Unreleased ---------- +1.0.0b1 (2024-02-01) +-------------------- + +* Inject ``build_grpc`` as ``build`` subcommand (#7). + * This means that you should no longer modify the ``build`` command in your ``setup.py``. + ``build_grpc`` is automatically injected as first subcommand of ``build``. +* Use ruff instead of flake8, isort and black. + 0.5 (2023-12-14) ---------------- diff --git a/README.rst b/README.rst index 83bc3f9..4f0d90c 100644 --- a/README.rst +++ b/README.rst @@ -76,7 +76,7 @@ Configuration You have to specify ``setuptools-grpc`` as part of build backend requirements. This follows specification introduced in `PEP 518 `_. -You can read more about it in `setuptools docs `_. +You can read more about it in `setuptools docs `__. .. code-block:: toml @@ -100,7 +100,7 @@ otherwise ``setuptools_grpc`` won't do anything. proto_path = ./src output_path = ./out -It's also recommended to add generated files to your ``MANIFEST.in``. Otherwise they might be missing from the built wheel. See `setuptools docs `_ for more details about how files are included in the distribution. +It's also recommended to add generated files to your ``MANIFEST.in``. Otherwise they might be missing from the built wheel. See `setuptools docs `__ for more details about how files are included in the distribution. .. code-block:: diff --git a/setup.cfg b/setup.cfg index 9037dbc..5001cf5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = setuptools-grpc -version = 0.5 +version = attr: setuptools_grpc.__version__ author = Jan MusĂ­lek author_email = jan.musilek@nic.cz description = Plugin for setuptools and grpc / protobuf python module build diff --git a/setuptools_grpc/__init__.py b/setuptools_grpc/__init__.py index 19f6798..1cdbb38 100644 --- a/setuptools_grpc/__init__.py +++ b/setuptools_grpc/__init__.py @@ -2,7 +2,7 @@ from setuptools import Command, Distribution -__version__ = "0.5" +__version__ = "1.0.0b1" def has_grpc(build: Command) -> bool: